diff options
author | wjmaclean@chromium.org <wjmaclean@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-23 20:03:32 +0000 |
---|---|---|
committer | wjmaclean@chromium.org <wjmaclean@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-23 20:03:32 +0000 |
commit | c965ac3d8b470513c9179b9c352a74855c80ff84 (patch) | |
tree | 09dcb4e1a5a3336b92276db6018dba6c1bf059de /cc | |
parent | bdb26dc8aea52ea2b79cbff32dfd181f323f90ce (diff) | |
download | chromium_src-c965ac3d8b470513c9179b9c352a74855c80ff84.zip chromium_src-c965ac3d8b470513c9179b9c352a74855c80ff84.tar.gz chromium_src-c965ac3d8b470513c9179b9c352a74855c80ff84.tar.bz2 |
Fix initialisation of s_acceleratedAnimationEnabled flag.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/11238063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163654 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r-- | cc/settings.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/settings.cc b/cc/settings.cc index 5954704..3aa1326 100644 --- a/cc/settings.cc +++ b/cc/settings.cc @@ -24,7 +24,7 @@ void reset() s_perTilePaintingEnabled = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kEnablePerTilePainting); s_partialSwapEnabled = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kEnablePartialSwap); - s_acceleratedAnimationEnabled = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kDisableThreadedAnimation); + s_acceleratedAnimationEnabled = !CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kDisableThreadedAnimation); s_pageScalePinchZoomEnabled = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kEnablePinchInCompositor); s_jankInsteadOfCheckerboard = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kJankInsteadOfCheckerboard); s_backgroundColorInsteadOfCheckerboard = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kBackgroundColorInsteadOfCheckerboard); |