Bug 1285271 - Disable_copy_on_write_canvas_on_windows_r_jnicol: Disable copy-on-write canvas on Windows. r=jnicol, a=ritu
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4585,17 +4585,21 @@ pref("layers.prefer-opengl", false);
pref("layers.prefer-d3d9", false);
pref("layers.allow-d3d9-fallback", true);
pref("layers.d3d11.force-warp", false);
pref("layers.d3d11.disable-warp", true);
#endif
// Copy-on-write canvas
+#ifdef XP_WIN
+pref("layers.shared-buffer-provider.enabled", false);
+#else
pref("layers.shared-buffer-provider.enabled", true);
+#endif
// Force all possible layers to be always active layers
pref("layers.force-active", false);
// Never use gralloc surfaces, even when they're available on this
// platform and are the optimal surface type.
pref("layers.gralloc.disable", false);