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. |