Index: ash/wm/lock_state_controller_unittest.cc |
diff --git a/ash/wm/lock_state_controller_unittest.cc b/ash/wm/lock_state_controller_unittest.cc |
index a9a13875b7be687a8835ea384cc44ddc4d5a8aca..0f784b360856f9e68c2bdd1b5951f4f0825f13ed 100644 |
--- a/ash/wm/lock_state_controller_unittest.cc |
+++ b/ash/wm/lock_state_controller_unittest.cc |
@@ -4,6 +4,8 @@ |
#include "ash/wm/lock_state_controller.h" |
+#include <utility> |
+ |
#include "ash/session/session_state_delegate.h" |
#include "ash/shell.h" |
#include "ash/test/ash_test_base.h" |
@@ -58,7 +60,8 @@ class LockStateControllerTest : public AshTestBase { |
test_animator_ = new TestSessionStateAnimator; |
lock_state_controller_ = Shell::GetInstance()->lock_state_controller(); |
- lock_state_controller_->SetDelegate(lock_state_controller_delegate.Pass()); |
+ lock_state_controller_->SetDelegate( |
+ std::move(lock_state_controller_delegate)); |
lock_state_controller_->set_animator_for_test(test_animator_); |
test_api_.reset(new LockStateController::TestApi(lock_state_controller_)); |