Index: ash/wm/lock_state_controller.h |
diff --git a/ash/wm/lock_state_controller.h b/ash/wm/lock_state_controller.h |
index aa4530c33224c1ad6947118e6eb3d78d66d8080b..214c075ef835243414ce397e52bdaa08b934ac32 100644 |
--- a/ash/wm/lock_state_controller.h |
+++ b/ash/wm/lock_state_controller.h |
@@ -112,7 +112,7 @@ class ASH_EXPORT LockStateController : public aura::WindowTreeHostObserver, |
// Called when ScreenLocker is ready to close, but not yet destroyed. |
// Can be used to display "hiding" animations on unlock. |
// |callback| will be called when all animations are done. |
- void OnLockScreenHide(base::Closure callback); |
+ void OnLockScreenHide(base::OnceClosure callback); |
// Sets up the callback that should be called once lock animation is finished. |
// Callback is guaranteed to be called once and then discarded. |
@@ -173,7 +173,7 @@ class ASH_EXPORT LockStateController : public aura::WindowTreeHostObserver, |
void CancelPreLockAnimation(); |
void StartPostLockAnimation(); |
// This method calls |callback| when animation completes. |
- void StartUnlockAnimationBeforeUIDestroyed(base::Closure& callback); |
+ void StartUnlockAnimationBeforeUIDestroyed(base::OnceClosure callback); |
void StartUnlockAnimationAfterUIDestroyed(); |
// These methods are called when corresponding animation completes. |