From d4a7d996c64f8b9fd198d9bd703619f82d328423 Mon Sep 17 00:00:00 2001 From: Morris Tseng Date: Thu, 18 May 2017 10:55:28 +0800 Subject: [PATCH] Bug 1336986 - Enable layers.advanced.bullet-layers if webrender is enabled. r=kats MozReview-Commit-ID: LNgErQCNeTq --- gfx/thebes/gfxPrefs.h | 2 +- modules/libpref/init/all.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gfx/thebes/gfxPrefs.h b/gfx/thebes/gfxPrefs.h index 5c20e06725bc..223da994fd8c 100644 --- a/gfx/thebes/gfxPrefs.h +++ b/gfx/thebes/gfxPrefs.h @@ -496,7 +496,7 @@ private: DECL_OVERRIDE_PREF(Live, "layers.advanced.border-layers", LayersAllowBorderLayers, false); DECL_OVERRIDE_PREF(Live, "layers.advanced.boxshadow-inset-layers", LayersAllowInsetBoxShadow, gfxPrefs::OverrideBase_WebRender()); DECL_OVERRIDE_PREF(Live, "layers.advanced.boxshadow-outer-layers", LayersAllowOuterBoxShadow, gfxPrefs::OverrideBase_WebRender()); - DECL_GFX_PREF(Live, "layers.advanced.bullet-layers", LayersAllowBulletLayers, bool, false); + DECL_OVERRIDE_PREF(Live, "layers.advanced.bullet-layers", LayersAllowBulletLayers, gfxPrefs::OverrideBase_WebRender()); DECL_OVERRIDE_PREF(Live, "layers.advanced.button-foreground-layers", LayersAllowButtonForegroundLayers, gfxPrefs::OverrideBase_WebRender()); DECL_GFX_PREF(Live, "layers.advanced.canvas-background-color", LayersAllowCanvasBackgroundColorLayers, bool, false); DECL_OVERRIDE_PREF(Live, "layers.advanced.caret-layers", LayersAllowCaretLayers, gfxPrefs::OverrideBase_WebRender()); diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 0b91ee22d14b..4b4d73aab26f 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -5712,6 +5712,7 @@ pref("fuzzing.enabled", false); pref("layers.advanced.border-layers", 2); pref("layers.advanced.boxshadow-inset-layers", 2); pref("layers.advanced.boxshadow-outer-layers", 2); +pref("layers.advanced.bullet-layers", 2); pref("layers.advanced.caret-layers", 2); pref("layers.advanced.displaybuttonborder-layers", 2); pref("layers.advanced.outline-layers", 2);