Index: remoting/host/desktop_process_unittest.cc |
diff --git a/remoting/host/desktop_process_unittest.cc b/remoting/host/desktop_process_unittest.cc |
index bac34c6c45f4caf1c09a249686501ed27abb00a8..a10ffcdd262ab86b4c776233fc6c78abe206f857 100644 |
--- a/remoting/host/desktop_process_unittest.cc |
+++ b/remoting/host/desktop_process_unittest.cc |
@@ -175,11 +175,9 @@ void DesktopProcessTest::ConnectNetworkChannel( |
IPC::ChannelHandle channel_handle(desktop_process); |
#endif // defined(OS_WIN) |
- network_channel_ = IPC::ChannelProxy::Create(channel_handle, |
- IPC::Channel::MODE_CLIENT, |
- &network_listener_, |
- io_task_runner_.get(), |
- nullptr); |
+ network_channel_ = |
+ IPC::ChannelProxy::Create(channel_handle, IPC::Channel::MODE_CLIENT, |
+ &network_listener_, io_task_runner_.get()); |
} |
void DesktopProcessTest::OnDesktopAttached( |
@@ -247,11 +245,9 @@ void DesktopProcessTest::RunDesktopProcess() { |
"IPC thread", ui_task_runner, base::MessageLoop::TYPE_IO); |
std::string channel_name = IPC::Channel::GenerateUniqueRandomChannelID(); |
- daemon_channel_ = IPC::ChannelProxy::Create(IPC::ChannelHandle(channel_name), |
- IPC::Channel::MODE_SERVER, |
- &daemon_listener_, |
- io_task_runner_.get(), |
- nullptr); |
+ daemon_channel_ = IPC::ChannelProxy::Create( |
+ IPC::ChannelHandle(channel_name), IPC::Channel::MODE_SERVER, |
+ &daemon_listener_, io_task_runner_.get()); |
scoped_ptr<MockDesktopEnvironmentFactory> desktop_environment_factory( |
new MockDesktopEnvironmentFactory()); |