Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / remoting / host / desktop_session_win.cc
index 676a3d9..bb970eb 100644 (file)
@@ -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() {