| Index: remoting/host/daemon_process_win.cc
|
| diff --git a/remoting/host/daemon_process_win.cc b/remoting/host/daemon_process_win.cc
|
| index b4cb9d19ec0a24693d1ae99a8e11de02ffdf01ec..e848d9e712d776e902cc68dab3d9014eaa94b85c 100644
|
| --- a/remoting/host/daemon_process_win.cc
|
| +++ b/remoting/host/daemon_process_win.cc
|
| @@ -221,8 +221,7 @@ void DaemonProcessWin::LaunchNetworkProcess() {
|
|
|
| scoped_ptr<UnprivilegedProcessDelegate> delegate(
|
| new UnprivilegedProcessDelegate(io_task_runner(), target.Pass()));
|
| - network_launcher_.reset(new WorkerProcessLauncher(
|
| - delegate.PassAs<WorkerProcessLauncher::Delegate>(), this));
|
| + network_launcher_.reset(new WorkerProcessLauncher(delegate.Pass(), this));
|
| }
|
|
|
| scoped_ptr<DaemonProcess> DaemonProcess::Create(
|
| @@ -233,7 +232,7 @@ scoped_ptr<DaemonProcess> DaemonProcess::Create(
|
| new DaemonProcessWin(caller_task_runner, io_task_runner,
|
| stopped_callback));
|
| daemon_process->Initialize();
|
| - return daemon_process.PassAs<DaemonProcess>();
|
| + return daemon_process.Pass();
|
| }
|
|
|
| void DaemonProcessWin::DisableAutoStart() {
|
|
|