cc: Accelerated animation isn't being set based on the --disable-threaded-animation flag
Instead, we started toggling "compositing for accelerated animation", during the
great untangling of these names. So at the moment, accelerated animation is never
turned on for the renderer.
BUG=160771
R=sky
Review URL: https://chromiumcodereview.appspot.com/11416020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168105 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index ba052a06..175cd7bf 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -631,7 +631,7 @@
command_line.HasSwitch(cc::switches::kEnablePinchInCompositor);
prefs.per_tile_painting_enabled =
command_line.HasSwitch(cc::switches::kEnablePerTilePainting);
- prefs.accelerated_compositing_for_animation_enabled =
+ prefs.accelerated_animation_enabled =
!command_line.HasSwitch(cc::switches::kDisableThreadedAnimation);
prefs.fixed_position_creates_stacking_context = !command_line.HasSwitch(