Bug 1231915 - Ignore the APZ pref if MOZ_ANDROID_APZ is enabled, since the pref doesn't cover all the relevant code. r=rbarker

This commit is contained in:
Kartikaya Gupta 2015-12-15 09:17:41 -05:00
parent e6c97dc7db
commit e8fcd59b57

View File

@ -2174,7 +2174,11 @@ gfxPlatform::AsyncPanZoomEnabled()
return false;
}
#endif
#ifdef MOZ_ANDROID_APZ
return true;
#else
return gfxPrefs::AsyncPanZoomEnabledDoNotUseDirectly();
#endif
}
/*virtual*/ bool