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

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: Just switch enable/disable. Don't rename flag. 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 5b750370b1e6f518206928094b39445f06ad9478..c500a88dc4d9f64068fa627e9bbd41d040bd6bf5 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -456,7 +456,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::kEnableThreadedAnimation);
prefs.accelerated_painting_enabled =
GpuProcessHost::gpu_enabled() &&
command_line.HasSwitch(switches::kEnableAcceleratedPainting);

Powered by Google App Engine
This is Rietveld 408576698