Index: remoting/host/desktop_session_win.cc |
diff --git a/remoting/host/desktop_session_win.cc b/remoting/host/desktop_session_win.cc |
index 676a3d92d3a8673fc17ab7769b33de1b17a5183f..bb970eb2bee2e9aa7651f57c9ce161e7d64a7390 100644 |
--- a/remoting/host/desktop_session_win.cc |
+++ b/remoting/host/desktop_session_win.cc |
@@ -552,7 +552,8 @@ void DesktopSessionWin::OnSessionAttached(uint32 session_id) { |
} |
// Create a launcher for the desktop process, using the per-session delegate. |
- launcher_.reset(new WorkerProcessLauncher(delegate.Pass(), this)); |
+ launcher_.reset(new WorkerProcessLauncher( |
+ delegate.PassAs<WorkerProcessLauncher::Delegate>(), this)); |
} |
void DesktopSessionWin::OnSessionDetached() { |