Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 10459016: Disable accelerated animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 599687097cd9e5c956a3d7b98a82d78bd8ea4cd1..640a388eaf08aecd169f3c88ee0f7cf566b0dc3f 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -455,7 +455,7 @@ WebPreferences WebContentsImpl::GetWebkitPrefs(RenderViewHost* rvh,
prefs.deferred_2d_canvas_enabled =
!command_line.HasSwitch(switches::kDisableDeferred2dCanvas);
prefs.threaded_animation_enabled =
- !command_line.HasSwitch(switches::kDisableThreadedAnimation);
+ command_line.HasSwitch(switches::kEnableAcceleratedAnimation);
prefs.accelerated_painting_enabled =
GpuProcessHost::gpu_enabled() &&
command_line.HasSwitch(switches::kEnableAcceleratedPainting);

Powered by Google App Engine
This is Rietveld 408576698