Index: ipc/mojo/ipc_channel_mojo_unittest.cc |
diff --git a/ipc/mojo/ipc_channel_mojo_unittest.cc b/ipc/mojo/ipc_channel_mojo_unittest.cc |
index 02bdcf17975626d4235b83b1f5b98a25d46246db..58d3e9f7e98ece49b3c1f2ba537bf8101de9318f 100644 |
--- a/ipc/mojo/ipc_channel_mojo_unittest.cc |
+++ b/ipc/mojo/ipc_channel_mojo_unittest.cc |
@@ -69,9 +69,9 @@ class ListenerThatExpectsOK : public IPC::Listener { |
class ChannelClient { |
public: |
explicit ChannelClient(IPC::Listener* listener, const char* name) { |
- channel_ = IPC::ChannelMojo::Create( |
- main_message_loop_.task_runner(), IPCTestBase::GetChannelName(name), |
- IPC::Channel::MODE_CLIENT, listener, nullptr); |
+ channel_ = IPC::ChannelMojo::Create(main_message_loop_.task_runner(), |
+ IPCTestBase::GetChannelName(name), |
+ IPC::Channel::MODE_CLIENT, listener); |
} |
void Connect() { |
@@ -116,8 +116,7 @@ class IPCChannelMojoTest : public IPCChannelMojoTestBase { |
scoped_ptr<IPC::ChannelFactory> CreateChannelFactory( |
const IPC::ChannelHandle& handle, |
base::SequencedTaskRunner* runner) override { |
- return IPC::ChannelMojo::CreateServerFactory(task_runner(), handle, |
- nullptr); |
+ return IPC::ChannelMojo::CreateServerFactory(task_runner(), handle); |
} |
bool DidStartClient() override { |
@@ -225,8 +224,7 @@ class IPCChannelMojoErrorTest : public IPCChannelMojoTestBase { |
scoped_ptr<IPC::ChannelFactory> CreateChannelFactory( |
const IPC::ChannelHandle& handle, |
base::SequencedTaskRunner* runner) override { |
- return IPC::ChannelMojo::CreateServerFactory(task_runner(), handle, |
- nullptr); |
+ return IPC::ChannelMojo::CreateServerFactory(task_runner(), handle); |
} |
bool DidStartClient() override { |
@@ -627,8 +625,7 @@ class IPCChannelMojoDeadHandleTest : public IPCChannelMojoTestBase { |
scoped_ptr<IPC::ChannelFactory> CreateChannelFactory( |
const IPC::ChannelHandle& handle, |
base::SequencedTaskRunner* runner) override { |
- return IPC::ChannelMojo::CreateServerFactory(task_runner(), handle, |
- nullptr); |
+ return IPC::ChannelMojo::CreateServerFactory(task_runner(), handle); |
} |
bool DidStartClient() override { |