Index: components/user_prefs/tracked/segregated_pref_store_unittest.cc |
diff --git a/components/user_prefs/tracked/segregated_pref_store_unittest.cc b/components/user_prefs/tracked/segregated_pref_store_unittest.cc |
index dc458a5582c44b72fdc92a70bd76e03183c18eb8..1986758c1f3315afb095218eb93b4806bc602c21 100644 |
--- a/components/user_prefs/tracked/segregated_pref_store_unittest.cc |
+++ b/components/user_prefs/tracked/segregated_pref_store_unittest.cc |
@@ -6,6 +6,7 @@ |
#include <set> |
#include <string> |
+#include <utility> |
#include "base/bind.h" |
#include "base/callback.h" |
@@ -80,7 +81,7 @@ class SegregatedPrefStoreTest : public testing::Test { |
protected: |
scoped_ptr<PersistentPrefStore::ReadErrorDelegate> GetReadErrorDelegate() { |
EXPECT_TRUE(read_error_delegate_); |
- return read_error_delegate_.Pass(); |
+ return std::move(read_error_delegate_); |
} |
PrefStoreObserverMock observer_; |