Bug 1885708 - Remove apz.mvm.force-enabled pref r=botond

Differential Revision: https://phabricator.services.mozilla.com/D204839
This commit is contained in:
Gregory Pappas
2024-03-22 20:01:11 +00:00
parent 496823b694
commit 388a03bed2
3 changed files with 2 additions and 8 deletions

View File

@@ -11230,8 +11230,7 @@ Maybe<MobileViewportManager::ManagerType> UseMobileViewportManager(
if (nsLayoutUtils::ShouldHandleMetaViewport(aDocument)) {
return Some(MobileViewportManager::ManagerType::VisualAndMetaViewport);
}
if (StaticPrefs::apz_mvm_force_enabled() ||
nsLayoutUtils::AllowZoomingForDocument(aDocument)) {
if (nsLayoutUtils::AllowZoomingForDocument(aDocument)) {
return Some(MobileViewportManager::ManagerType::VisualViewportOnly);
}
return Nothing();