diff options
author | antrim@chromium.org <antrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-18 15:16:24 +0000 |
---|---|---|
committer | antrim@chromium.org <antrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-18 15:16:24 +0000 |
commit | 0fadf84de1767ec84a5a21db1d11497c6300033a (patch) | |
tree | a35bc5d23601f14db42643cf3e0111608fd08d94 /ash/shell.cc | |
parent | d1fc2ff890b641b986cc8ee5db750e0a9762afeb (diff) | |
download | chromium_src-0fadf84de1767ec84a5a21db1d11497c6300033a.zip chromium_src-0fadf84de1767ec84a5a21db1d11497c6300033a.tar.gz chromium_src-0fadf84de1767ec84a5a21db1d11497c6300033a.tar.bz2 |
Enable new lock animations by default
BUG=138171, 139461, 162646
TBR=sky
Review URL: https://chromiumcodereview.appspot.com/11595008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173731 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell.cc')
-rw-r--r-- | ash/shell.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ash/shell.cc b/ash/shell.cc index 0326a26..7e95abf 100644 --- a/ash/shell.cc +++ b/ash/shell.cc @@ -476,10 +476,10 @@ void Shell::Init() { CommandLine* command_line = CommandLine::ForCurrentProcess(); - if (command_line->HasSwitch(ash::switches::kAshNewLockAnimationsEnabled)) - session_state_controller_.reset(new SessionStateControllerImpl2); - else + if (command_line->HasSwitch(ash::switches::kAshDisableNewLockAnimations)) session_state_controller_.reset(new SessionStateControllerImpl); + else + session_state_controller_.reset(new SessionStateControllerImpl2); power_button_controller_.reset(new PowerButtonController( session_state_controller_.get())); AddShellObserver(session_state_controller_.get()); |