summaryrefslogtreecommitdiff
path: root/www/firefox-esr/files/patch-modules-libpref-init-all.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox-esr/files/patch-modules-libpref-init-all.js')
-rw-r--r--www/firefox-esr/files/patch-modules-libpref-init-all.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/firefox-esr/files/patch-modules-libpref-init-all.js b/www/firefox-esr/files/patch-modules-libpref-init-all.js
new file mode 100644
index 000000000000..660b538c62a9
--- /dev/null
+++ b/www/firefox-esr/files/patch-modules-libpref-init-all.js
@@ -0,0 +1,15 @@
+--- modules/libpref/init/all.js.orig 2015-08-06 22:39:34 UTC
++++ modules/libpref/init/all.js
+@@ -4052,7 +4052,12 @@ pref("layers.max-active", -1);
+ pref("layers.tiles.adjust", true);
+
+ // Set the default values, and then override per-platform as needed
++#ifdef MOZ_TREE_CAIRO
+ pref("layers.offmainthreadcomposition.enabled", true);
++#else
++// Disable for system cairo on suspicion of causing random crashes
++pref("layers.offmainthreadcomposition.enabled", false);
++#endif
+ // Compositor target frame rate. NOTE: If vsync is enabled the compositor
+ // frame rate will still be capped.
+ // -1 -> default (match layout.frame_rate or 60 FPS)