| Index: remoting/host/win/worker_process_launcher_unittest.cc
|
| diff --git a/remoting/host/win/worker_process_launcher_unittest.cc b/remoting/host/win/worker_process_launcher_unittest.cc
|
| index e47d2fa2988fc689358eff335be0d930998a8623..32c00c2228fcbcd743ae4290ea2cb2afa47e5d57 100644
|
| --- a/remoting/host/win/worker_process_launcher_unittest.cc
|
| +++ b/remoting/host/win/worker_process_launcher_unittest.cc
|
| @@ -262,14 +262,14 @@ void WorkerProcessLauncherTest::KillProcess() {
|
| event_handler_ = NULL;
|
|
|
| if (worker_process_.IsValid()) {
|
| - TerminateProcess(worker_process_, CONTROL_C_EXIT);
|
| + TerminateProcess(worker_process_.Get(), CONTROL_C_EXIT);
|
| worker_process_.Close();
|
| }
|
| }
|
|
|
| void WorkerProcessLauncherTest::TerminateWorker(DWORD exit_code) {
|
| if (worker_process_.IsValid())
|
| - TerminateProcess(worker_process_, exit_code);
|
| + TerminateProcess(worker_process_.Get(), exit_code);
|
| }
|
|
|
| void WorkerProcessLauncherTest::ConnectClient() {
|
| @@ -362,11 +362,12 @@ void WorkerProcessLauncherTest::DoLaunchProcess() {
|
|
|
| // Wrap the pipe into an IPC channel.
|
| channel_server_ = IPC::ChannelProxy::Create(
|
| - IPC::ChannelHandle(pipe), IPC::Channel::MODE_SERVER, this, task_runner_);
|
| + IPC::ChannelHandle(pipe.Get()), IPC::Channel::MODE_SERVER, this,
|
| + task_runner_);
|
|
|
| HANDLE temp_handle;
|
| ASSERT_TRUE(DuplicateHandle(GetCurrentProcess(),
|
| - worker_process_,
|
| + worker_process_.Get(),
|
| GetCurrentProcess(),
|
| &temp_handle,
|
| 0,
|
|
|