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

Unified Diff: chrome/common/service_process_util.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/common/service_process_util.cc
diff --git a/chrome/common/service_process_util.cc b/chrome/common/service_process_util.cc
index 190755d298c8d110df0af1ab9e534391b971885a..336c01174e59f062a900fe925c59cb98d99a249b 100644
--- a/chrome/common/service_process_util.cc
+++ b/chrome/common/service_process_util.cc
@@ -182,7 +182,7 @@ scoped_ptr<base::CommandLine> CreateServiceProcessCommandLine() {
command_line->CopySwitchesFrom(*base::CommandLine::ForCurrentProcess(),
kSwitchesToCopy,
arraysize(kSwitchesToCopy));
- return command_line.Pass();
+ return command_line;
}
ServiceProcessState::ServiceProcessState() : state_(NULL) {

Powered by Google App Engine
This is Rietveld 408576698