Index: ash/wm/power_button_controller.cc |
diff --git a/ash/wm/power_button_controller.cc b/ash/wm/power_button_controller.cc |
index f7bc2f3e2ebffafe60e466925addb2070bede79d..8b6c549e8e9006184b55c96ef487d5426625ebdb 100644 |
--- a/ash/wm/power_button_controller.cc |
+++ b/ash/wm/power_button_controller.cc |
@@ -62,7 +62,7 @@ void PowerButtonController::OnPowerButtonEvent( |
return; |
if (controller_->IsEligibleForLock()) |
- controller_->StartLockAnimation(); |
+ controller_->StartLockAnimation(true); |
else |
controller_->StartShutdownAnimation(); |
} else { // Button is up. |
@@ -92,7 +92,7 @@ void PowerButtonController::OnLockButtonEvent( |
return; |
if (down) |
- controller_->StartLockAnimation(); |
+ controller_->StartLockAnimation(false); |
else |
controller_->CancelLockWithOtherAnimation(); |
} |