Bug 1547852: Only enable dynamic reflow roots up through early beta. r=dbaron a=pascalc
authorDaniel Holbert <dholbert@cs.stanford.edu>
Mon, 29 Apr 2019 23:10:55 +0000
changeset 526443 652cbee2d7f42b3d7186eda8a7617cdc6063fa50
parent 526442 c08fdc0f28c2653f44f242928d0d4e5d9a62e4fb
child 526444 2c11d977339516c3fd0a475fdd9689d3b9e7eb11
push id2032
push userffxbld-merge
push dateMon, 13 May 2019 09:36:57 +0000
treeherdermozilla-release@455c1065dcbe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron, pascalc
bugs1547852
milestone67.0
Bug 1547852: Only enable dynamic reflow roots up through early beta. r=dbaron a=pascalc Differential Revision: https://phabricator.services.mozilla.com/D29288
modules/libpref/init/StaticPrefList.h
--- a/modules/libpref/init/StaticPrefList.h
+++ b/modules/libpref/init/StaticPrefList.h
@@ -1035,21 +1035,27 @@ VARCACHE_PREF(
 // Is steps(jump-*) supported in easing functions?
 VARCACHE_PREF(
   "layout.css.step-position-jump.enabled",
    layout_css_step_position_jump_enabled,
   bool, true
 )
 
 // Are dynamic reflow roots enabled?
+#ifdef EARLY_BETA_OR_EARLIER
+#define PREF_VALUE true
+#else
+#define PREF_VALUE false
+#endif
 VARCACHE_PREF(
    "layout.dynamic-reflow-roots.enabled",
    layout_dynamic_reflow_roots_enabled,
-  bool, true
+  bool, PREF_VALUE
 )
+#undef PREF_VALUE
 
 VARCACHE_PREF(
    "layout.lower_priority_refresh_driver_during_load",
    layout_lower_priority_refresh_driver_during_load,
   bool, true
 )
 
 // Pref to control enabling scroll anchoring.