Index: content/child/child_thread.cc |
diff --git a/content/child/child_thread.cc b/content/child/child_thread.cc |
index a9a2fb6a6831ed959d5c0f7575b5241ceb2008f9..94847139c241682f420f6102bd2e236aa4396456 100644 |
--- a/content/child/child_thread.cc |
+++ b/content/child/child_thread.cc |
@@ -229,10 +229,7 @@ scoped_ptr<IPC::SyncChannel> ChildThread::CreateChannel(bool use_mojo_channel) { |
if (use_mojo_channel) { |
VLOG(1) << "Mojo is enabled on child"; |
return IPC::SyncChannel::Create( |
- IPC::ChannelMojo::CreateFactory( |
- channel_name_, |
- IPC::Channel::MODE_CLIENT, |
- ChildProcess::current()->io_message_loop_proxy()), |
+ IPC::ChannelMojo::CreateClientFactory(channel_name_), |
this, |
ChildProcess::current()->io_message_loop_proxy(), |
true, |