Bug 1885705 - Remove the apz.force_disable_desktop_zooming_scrollbars pref. r=tnikkel

Differential Revision: https://phabricator.services.mozilla.com/D205427
This commit is contained in:
Razvan Cojocaru 2024-03-23 10:49:43 +00:00
parent e451075092
commit ab606fc03b
3 changed files with 2 additions and 10 deletions

View File

@ -11,8 +11,7 @@
<script type="application/javascript">
async function test() {
if (SpecialPowers.getBoolPref("apz.force_disable_desktop_zooming_scrollbars") ||
getPlatform() == "android") {
if (getPlatform() == "android") {
return;
}

View File

@ -3718,8 +3718,7 @@ uint32_t gfxPlatform::TargetFrameRate() {
/* static */
bool gfxPlatform::UseDesktopZoomingScrollbars() {
return StaticPrefs::apz_allow_zooming() &&
!StaticPrefs::apz_force_disable_desktop_zooming_scrollbars();
return StaticPrefs::apz_allow_zooming();
}
/*static*/

View File

@ -591,12 +591,6 @@
value: 1.0f
mirror: always
# new scrollbar code for desktop zooming
- name: apz.force_disable_desktop_zooming_scrollbars
type: RelaxedAtomicBool
value: false
mirror: always
#ifdef MOZ_WIDGET_GTK
- name: apz.gtk.kinetic_scroll.enabled
type: RelaxedAtomicBool