Index: remoting/host/desktop_process_main.cc |
diff --git a/remoting/host/desktop_process_main.cc b/remoting/host/desktop_process_main.cc |
index b17554c553449083238f83f2f877d4ac49e4ddbe..95242c921660fa5be649285d6ff10d8d001bfd35 100644 |
--- a/remoting/host/desktop_process_main.cc |
+++ b/remoting/host/desktop_process_main.cc |
@@ -5,6 +5,8 @@ |
// This file implements the Windows service controlling Me2Me host processes |
// running within user sessions. |
+#include <utility> |
+ |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
#include "base/command_line.h" |
@@ -64,7 +66,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. |