Index: components/user_prefs/tracked/segregated_pref_store.cc |
diff --git a/components/user_prefs/tracked/segregated_pref_store.cc b/components/user_prefs/tracked/segregated_pref_store.cc |
index 0d2ef94aa86869597fbe3c88f9e19aababf13ee8..177736cf29eeba217831ae4f5779eab6f924c8b6 100644 |
--- a/components/user_prefs/tracked/segregated_pref_store.cc |
+++ b/components/user_prefs/tracked/segregated_pref_store.cc |
@@ -4,6 +4,8 @@ |
#include "components/user_prefs/tracked/segregated_pref_store.h" |
+#include <utility> |
+ |
#include "base/logging.h" |
#include "base/stl_util.h" |
#include "base/values.h" |
@@ -85,7 +87,7 @@ bool SegregatedPrefStore::GetValue(const std::string& key, |
void SegregatedPrefStore::SetValue(const std::string& key, |
scoped_ptr<base::Value> value, |
uint32_t flags) { |
- StoreForKey(key)->SetValue(key, value.Pass(), flags); |
+ StoreForKey(key)->SetValue(key, std::move(value), flags); |
} |
void SegregatedPrefStore::RemoveValue(const std::string& key, uint32_t flags) { |
@@ -105,7 +107,7 @@ void SegregatedPrefStore::ReportValueChanged(const std::string& key, |
void SegregatedPrefStore::SetValueSilently(const std::string& key, |
scoped_ptr<base::Value> value, |
uint32_t flags) { |
- StoreForKey(key)->SetValueSilently(key, value.Pass(), flags); |
+ StoreForKey(key)->SetValueSilently(key, std::move(value), flags); |
} |
bool SegregatedPrefStore::ReadOnly() const { |