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

Unified Diff: base/process/process_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: base/process/process_win.cc
diff --git a/base/process/process_win.cc b/base/process/process_win.cc
index e7f35b3f4e29d28aa16f532d97c74a2488ec6aa1..e13fb867086c0eab659705a61ca0250c410fff27 100644
--- a/base/process/process_win.cc
+++ b/base/process/process_win.cc
@@ -46,7 +46,7 @@ Process& Process::operator=(Process&& other) {
Process Process::Current() {
Process process;
process.is_current_process_ = true;
- return process.Pass();
+ return process;
}
// static

Powered by Google App Engine
This is Rietveld 408576698