Index: components/nacl/renderer/trusted_plugin_channel.cc |
diff --git a/components/nacl/renderer/trusted_plugin_channel.cc b/components/nacl/renderer/trusted_plugin_channel.cc |
index 7ce3d843994745e3d65536b5988c43f040664a0b..cfb9523b695e31c6f6782a0df56f9bfd113b73cb 100644 |
--- a/components/nacl/renderer/trusted_plugin_channel.cc |
+++ b/components/nacl/renderer/trusted_plugin_channel.cc |
@@ -17,8 +17,8 @@ TrustedPluginChannel::TrustedPluginChannel( |
const base::Callback<void(int32_t)>& connected_callback, |
base::WaitableEvent* waitable_event) |
: connected_callback_(connected_callback), |
- channel_(new IPC::SyncChannel( |
- handle, IPC::Channel::MODE_CLIENT, this, |
+ channel_(IPC::SyncChannel::CreateClient( |
+ handle, this, |
content::RenderThread::Get()->GetIOMessageLoopProxy(), true, |
waitable_event)) { |
} |