Index: remoting/host/ipc_desktop_environment_unittest.cc |
diff --git a/remoting/host/ipc_desktop_environment_unittest.cc b/remoting/host/ipc_desktop_environment_unittest.cc |
index e2138d298cf83a5b03ce527172a5e58f14be2a6b..815c9f9cc2660b9d172525a176e715342c3ebc7c 100644 |
--- a/remoting/host/ipc_desktop_environment_unittest.cc |
+++ b/remoting/host/ipc_desktop_environment_unittest.cc |
@@ -355,16 +355,16 @@ void IpcDesktopEnvironmentTest::ReflectClipboardEvent( |
} |
void IpcDesktopEnvironmentTest::CreateDesktopProcess() { |
- EXPECT_TRUE(task_runner_); |
- EXPECT_TRUE(io_task_runner_); |
+ EXPECT_TRUE(task_runner_.get()); |
+ EXPECT_TRUE(io_task_runner_.get()); |
// Create the daemon end of the daemon-to-desktop channel. |
desktop_channel_name_ = IPC::Channel::GenerateUniqueRandomChannelID(); |
- desktop_channel_.reset(new IPC::ChannelProxy( |
- IPC::ChannelHandle(desktop_channel_name_), |
- IPC::Channel::MODE_SERVER, |
- &desktop_listener_, |
- io_task_runner_)); |
+ desktop_channel_.reset( |
+ new IPC::ChannelProxy(IPC::ChannelHandle(desktop_channel_name_), |
+ IPC::Channel::MODE_SERVER, |
+ &desktop_listener_, |
+ io_task_runner_.get())); |
// Create and start the desktop process. |
desktop_process_.reset(new DesktopProcess(task_runner_, |