Index: third_party/libaddressinput/chromium/chrome_storage_impl.cc |
diff --git a/third_party/libaddressinput/chromium/chrome_storage_impl.cc b/third_party/libaddressinput/chromium/chrome_storage_impl.cc |
index 3798d81043820c9e8b9bf6d6b3238fd8d96fa32a..d85a2fdfa1a6e801919d324f1b7f27022e43761e 100644 |
--- a/third_party/libaddressinput/chromium/chrome_storage_impl.cc |
+++ b/third_party/libaddressinput/chromium/chrome_storage_impl.cc |
@@ -4,6 +4,8 @@ |
#include "third_party/libaddressinput/chromium/chrome_storage_impl.h" |
+#include <utility> |
+ |
#include "base/memory/scoped_ptr.h" |
#include "base/prefs/writeable_pref_store.h" |
#include "base/values.h" |
@@ -25,7 +27,7 @@ void ChromeStorageImpl::Put(const std::string& key, std::string* data) { |
scoped_ptr<base::StringValue> string_value( |
new base::StringValue(std::string())); |
string_value->GetString()->swap(*owned_data); |
- backing_store_->SetValue(key, string_value.Pass(), |
+ backing_store_->SetValue(key, std::move(string_value), |
WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS); |
} |