From 5cb079dcb8627116f8eef907d1f02f2bb55deb1e Mon Sep 17 00:00:00 2001 From: Paul Rouget Date: Sun, 18 May 2014 03:43:00 -0400 Subject: [PATCH] Bug 1000415 - Enable async animations in B2G desktop. r=vingtetun --- b2g/app/b2g.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/b2g/app/b2g.js b/b2g/app/b2g.js index 2cbc132e13c5..e8624958d1f5 100644 --- a/b2g/app/b2g.js +++ b/b2g/app/b2g.js @@ -286,14 +286,13 @@ pref("ui.dragThresholdY", 25); // Layers Acceleration. We can only have nice things on gonk, because // they're not maintained anywhere else. pref("layers.offmainthreadcomposition.enabled", true); +pref("layers.offmainthreadcomposition.async-animations", true); #ifndef MOZ_WIDGET_GONK pref("dom.ipc.tabs.disabled", true); -pref("layers.offmainthreadcomposition.async-animations", false); pref("layers.async-video.enabled", false); #else pref("dom.ipc.tabs.disabled", false); pref("layers.acceleration.disabled", false); -pref("layers.offmainthreadcomposition.async-animations", true); pref("layers.async-video.enabled", true); pref("layers.async-video-oop.enabled",true); pref("layers.async-pan-zoom.enabled", true);