commit | efcde1301756eb49e85640e488d350f7bdf46df2 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed May 30 01:05:18 2012 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed May 30 01:05:18 2012 |
tree | 2fbd5c093e79b12d330708f4f33e250bd1a14d36 | |
parent | d03dee08d5bf3193737625287c5d3b6b925bbb5c [diff] [blame] |
Revert 139433 - Disable accelerated animation With this change accelerated animation will be disabled by default. BUG=129934 TEST=manual [email protected],[email protected],[email protected] Review URL: https://chromiumcodereview.appspot.com/10459016 [email protected] Review URL: https://chromiumcodereview.appspot.com/10456021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139447 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 c500a88..5b75037 100644 --- a/content/browser/web_contents/web_contents_impl.cc +++ b/content/browser/web_contents/web_contents_impl.cc
@@ -456,7 +456,7 @@ prefs.deferred_2d_canvas_enabled = !command_line.HasSwitch(switches::kDisableDeferred2dCanvas); prefs.threaded_animation_enabled = - command_line.HasSwitch(switches::kEnableThreadedAnimation); + !command_line.HasSwitch(switches::kDisableThreadedAnimation); prefs.accelerated_painting_enabled = GpuProcessHost::gpu_enabled() && command_line.HasSwitch(switches::kEnableAcceleratedPainting);