From c965ac3d8b470513c9179b9c352a74855c80ff84 Mon Sep 17 00:00:00 2001
From: "wjmaclean@chromium.org"
 <wjmaclean@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Tue, 23 Oct 2012 20:03:32 +0000
Subject: 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
---
 cc/settings.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'cc')

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);
-- 
cgit v1.1