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

Unified Diff: remoting/host/desktop_process_main.cc

Issue 1549493004: Use std::move() instead of .Pass() in remoting/host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass
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: remoting/host/desktop_process_main.cc
diff --git a/remoting/host/desktop_process_main.cc b/remoting/host/desktop_process_main.cc
index 316eec5fcb9e2ec7bec2a1d78dca52dd5c11f66c..787ac736c980731146e43ba2bc6ad97e77945b7a 100644
--- a/remoting/host/desktop_process_main.cc
+++ b/remoting/host/desktop_process_main.cc
@@ -63,7 +63,7 @@ int DesktopProcessMain() {
ui_task_runner));
#endif // !defined(OS_WIN)
- if (!desktop_process.Start(desktop_environment_factory.Pass()))
+ if (!desktop_process.Start(std::move(desktop_environment_factory)))
return kInitializationFailed;
// Run the UI message loop.

Powered by Google App Engine
This is Rietveld 408576698