| 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..8195200a5d3d7c9c782c03ade88e12d780c195c6 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,9 +92,9 @@ void PowerButtonController::OnLockButtonEvent(
|
| return;
|
|
|
| if (down)
|
| - controller_->StartLockAnimation();
|
| + controller_->StartLockAnimation(false);
|
| else
|
| - controller_->CancelLockWithOtherAnimation();
|
| + controller_->CancelLockAnimation();
|
| }
|
|
|
| } // namespace ash
|
|
|