Index: remoting/host/daemon_process_win.cc |
diff --git a/remoting/host/daemon_process_win.cc b/remoting/host/daemon_process_win.cc |
index 08ffff66818732bf9df84c1f8e06357dbfd9ade0..eab12862b17cdbeaef1089d12abd7afd88b4556f 100644 |
--- a/remoting/host/daemon_process_win.cc |
+++ b/remoting/host/daemon_process_win.cc |
@@ -226,8 +226,8 @@ void DaemonProcessWin::LaunchNetworkProcess() { |
kCopiedSwitchNames, arraysize(kCopiedSwitchNames)); |
scoped_ptr<UnprivilegedProcessDelegate> delegate( |
- new UnprivilegedProcessDelegate(io_task_runner(), target.Pass())); |
- network_launcher_.reset(new WorkerProcessLauncher(delegate.Pass(), this)); |
+ new UnprivilegedProcessDelegate(io_task_runner(), std::move(target))); |
+ network_launcher_.reset(new WorkerProcessLauncher(std::move(delegate), this)); |
} |
scoped_ptr<DaemonProcess> DaemonProcess::Create( |
@@ -238,7 +238,7 @@ scoped_ptr<DaemonProcess> DaemonProcess::Create( |
new DaemonProcessWin(caller_task_runner, io_task_runner, |
stopped_callback)); |
daemon_process->Initialize(); |
- return daemon_process.Pass(); |
+ return std::move(daemon_process); |
} |
void DaemonProcessWin::DisableAutoStart() { |