Index: ash/wm/lock_state_controller.cc |
diff --git a/ash/wm/lock_state_controller.cc b/ash/wm/lock_state_controller.cc |
index aa075c5be5190047ab27a61840736d0e6cdd3d56..a0f0d847bd5027aee89898ef3b2c0354d09c1d2f 100644 |
--- a/ash/wm/lock_state_controller.cc |
+++ b/ash/wm/lock_state_controller.cc |
@@ -6,6 +6,7 @@ |
#include <algorithm> |
#include <string> |
+#include <utility> |
#include "ash/accessibility_delegate.h" |
#include "ash/ash_switches.h" |
@@ -98,7 +99,7 @@ LockStateController::~LockStateController() { |
void LockStateController::SetDelegate( |
scoped_ptr<LockStateControllerDelegate> delegate) { |
- delegate_ = delegate.Pass(); |
+ delegate_ = std::move(delegate); |
} |
void LockStateController::AddObserver(LockStateObserver* observer) { |