Index: remoting/host/ipc_desktop_environment.cc |
diff --git a/remoting/host/ipc_desktop_environment.cc b/remoting/host/ipc_desktop_environment.cc |
index cc6417e6761c0405473498bfdbdd16212b95deae..1a961145390d361016c828b83c0091f1a4082c99 100644 |
--- a/remoting/host/ipc_desktop_environment.cc |
+++ b/remoting/host/ipc_desktop_environment.cc |
@@ -199,7 +199,7 @@ void IpcDesktopEnvironmentFactory::OnDesktopSessionAgentAttached( |
ActiveConnectionsList::iterator i = active_connections_.find(terminal_id); |
if (i != active_connections_.end()) { |
i->second->DetachFromDesktop(); |
- i->second->AttachToDesktop(desktop_process.Pass(), desktop_pipe); |
+ i->second->AttachToDesktop(std::move(desktop_process), desktop_pipe); |
} else { |
#if defined(OS_POSIX) |
DCHECK(desktop_pipe.auto_close); |