Index: components/proximity_auth/unlock_manager_unittest.cc |
diff --git a/components/proximity_auth/unlock_manager_unittest.cc b/components/proximity_auth/unlock_manager_unittest.cc |
index b72900d06ea720ae79392519b53f97c37b05d12b..9f05d0c6170aae291dc7a365cb5bd2e9649c6bc0 100644 |
--- a/components/proximity_auth/unlock_manager_unittest.cc |
+++ b/components/proximity_auth/unlock_manager_unittest.cc |
@@ -4,6 +4,8 @@ |
#include "components/proximity_auth/unlock_manager.h" |
+#include <utility> |
+ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
@@ -162,7 +164,7 @@ class TestUnlockManager : public UnlockManager { |
scoped_ptr<MockProximityMonitor> proximity_monitor( |
new NiceMock<MockProximityMonitor>()); |
proximity_monitor_ = proximity_monitor.get(); |
- return proximity_monitor.Pass(); |
+ return std::move(proximity_monitor); |
} |
// Owned by the super class. |