Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4476)

Unified Diff: chrome/service/service_process_prefs.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/service/service_process_prefs.cc
diff --git a/chrome/service/service_process_prefs.cc b/chrome/service/service_process_prefs.cc
index b26af3e61cd975b405abab90d1c72c676628b913..d5e66854c0ea18e7d26ed2b581a2cf34b3c07c48 100644
--- a/chrome/service/service_process_prefs.cc
+++ b/chrome/service/service_process_prefs.cc
@@ -4,6 +4,8 @@
#include "chrome/service/service_process_prefs.h"
+#include <utility>
+
#include "base/prefs/pref_filter.h"
#include "base/thread_task_runner_handle.h"
#include "base/values.h"
@@ -95,7 +97,7 @@ const base::ListValue* ServiceProcessPrefs::GetList(
void ServiceProcessPrefs::SetValue(const std::string& key,
scoped_ptr<base::Value> value) {
- prefs_->SetValue(key, value.Pass(),
+ prefs_->SetValue(key, std::move(value),
WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS);
}

Powered by Google App Engine
This is Rietveld 408576698