Bug 1349949 - Convert another pref to an override pref as part of merging m-c to graphics. r=me

MozReview-Commit-ID: DvIXvd2NxAb
This commit is contained in:
Kartikaya Gupta 2017-03-24 10:12:22 -04:00
parent 3956a6bca3
commit 07d2a35e4a
2 changed files with 2 additions and 5 deletions

View File

@ -486,7 +486,7 @@ private:
DECL_GFX_PREF(Live, "layers.acceleration.draw-fps.write-to-file", WriteFPSToFile, bool, false);
DECL_GFX_PREF(Once, "layers.acceleration.force-enabled", LayersAccelerationForceEnabledDoNotUseDirectly, bool, false);
DECL_OVERRIDE_PREF(Live, "layers.advanced.border-layers", LayersAllowBorderLayers, false);
DECL_GFX_PREF(Live, "layers.advanced.boxshadow-inset-layers", LayersAllowInsetBoxShadow, bool, false);
DECL_OVERRIDE_PREF(Live, "layers.advanced.boxshadow-inset-layers", LayersAllowInsetBoxShadow, gfxPrefs::OverrideBase_WebRender());
DECL_OVERRIDE_PREF(Live, "layers.advanced.boxshadow-outer-layers", LayersAllowOuterBoxShadow, false);
DECL_GFX_PREF(Live, "layers.advanced.bullet-layers", LayersAllowBulletLayers, bool, false);
DECL_GFX_PREF(Live, "layers.advanced.button-foreground-layers", LayersAllowButtonForegroundLayers, bool, false);

View File

@ -5654,9 +5654,6 @@ pref("fuzzing.enabled", false);
// turn these on and off, instead use the conditional-pref code in gfxPrefs.h
// to do that.
pref("layers.advanced.border-layers", 2);
pref("layers.advanced.boxshadow-inset-layers", 2);
pref("layers.advanced.boxshadow-outer-layers", 2);
pref("layers.advanced.caret-layers", 2);
#ifdef MOZ_ENABLE_WEBRENDER
pref("layers.advanced.boxshadow-inset-layers", true);
#endif