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 e1adecdf6ca6be778cb2891209d756aeb2ab0e95..ac1efd14b98dbadc9ecfdc572e3d6a8541dd962d 100644 |
--- a/ipc/mojo/ipc_channel_mojo_unittest.cc |
+++ b/ipc/mojo/ipc_channel_mojo_unittest.cc |
@@ -83,7 +83,8 @@ class IPCChannelMojoTest : public IPCTestBase { |
const IPC::ChannelHandle& handle, |
base::TaskRunner* runner) OVERRIDE { |
host_.reset(new IPC::ChannelMojoHost(task_runner())); |
- return IPC::ChannelMojo::CreateServerFactory(host_.get(), handle); |
+ return IPC::ChannelMojo::CreateServerFactory(host_->channel_delegate(), |
+ handle); |
} |
virtual bool DidStartClient() OVERRIDE { |
@@ -190,7 +191,8 @@ class IPCChannelMojoErrorTest : public IPCTestBase { |
const IPC::ChannelHandle& handle, |
base::TaskRunner* runner) OVERRIDE { |
host_.reset(new IPC::ChannelMojoHost(task_runner())); |
- return IPC::ChannelMojo::CreateServerFactory(host_.get(), handle); |
+ return IPC::ChannelMojo::CreateServerFactory(host_->channel_delegate(), |
+ handle); |
} |
virtual bool DidStartClient() OVERRIDE { |