Bug 1416055 - Enable retained display lists for Nightly builds. r=miko
authorMatt Woodrow <mwoodrow@mozilla.com>
Fri, 10 Nov 2017 21:27:39 +1300
changeset 435974 d5e1ed773fefe2eb9d52402dd74b5fea19b8b4a4
parent 435973 2ec68ec7ff01827c8b12e9b0c1817920de967b9a
child 435975 163c693012c0f247aeb47b64b0b607190057687b
push id117
push userfmarier@mozilla.com
push dateTue, 28 Nov 2017 20:17:16 +0000
reviewersmiko
bugs1416055
milestone58.0a1
Bug 1416055 - Enable retained display lists for Nightly builds. r=miko
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -3128,18 +3128,18 @@ pref("layout.interruptible-reflow.enable
 pref("layout.frame_rate", -1);
 
 // pref to dump the display list to the log. Useful for debugging drawing.
 pref("layout.display-list.dump", false);
 pref("layout.display-list.dump-content", false);
 pref("layout.display-list.dump-parent", false);
 
 // Toggle retaining display lists between paints
-#ifdef ANDROID
-pref("layout.display-list.retain", false);
+#if !defined(ANDROID) && defined(NIGHTLY_BUILD)
+pref("layout.display-list.retain", true);
 #else
 pref("layout.display-list.retain", false);
 #endif
 
 // Set the maximum amount of modified frames allowed before doing a full
 // display list rebuild.
 pref("layout.display-list.rebuild-frame-limit", 500);