Bug 1885708 - Remove apz.mvm.force-enabled pref r=botond
Differential Revision: https://phabricator.services.mozilla.com/D204839
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user