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

Unified Diff: chrome/browser/extensions/api/messaging/native_process_launcher_win.cc

Issue 1752233002: Convert Pass()→std::move() on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 months 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/browser/extensions/api/messaging/native_process_launcher_win.cc
diff --git a/chrome/browser/extensions/api/messaging/native_process_launcher_win.cc b/chrome/browser/extensions/api/messaging/native_process_launcher_win.cc
index 2192b278dce828500122574494a0152e0108fa43..6ae37b3199d00fefc9dd0efb8698eeb9659e48ba 100644
--- a/chrome/browser/extensions/api/messaging/native_process_launcher_win.cc
+++ b/chrome/browser/extensions/api/messaging/native_process_launcher_win.cc
@@ -170,7 +170,7 @@ bool NativeProcessLauncher::LaunchNativeProcess(
return false;
}
- *process = cmd_process.Pass();
+ *process = std::move(cmd_process);
*read_file = base::File::CreateForAsyncHandle(stdout_pipe.Take());
*write_file = base::File::CreateForAsyncHandle(stdin_pipe.Take());

Powered by Google App Engine
This is Rietveld 408576698