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..88c2dcd5791b8b5382fb8d1720153936bfc50c81 100644 |
--- a/components/nacl/renderer/trusted_plugin_channel.cc |
+++ b/components/nacl/renderer/trusted_plugin_channel.cc |
@@ -17,9 +17,12 @@ 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, |
- content::RenderThread::Get()->GetIOMessageLoopProxy(), true, |
+ channel_(IPC::SyncChannel::Create( |
+ handle, |
+ IPC::Channel::MODE_CLIENT, |
+ this, |
+ content::RenderThread::Get()->GetIOMessageLoopProxy(), |
+ true, |
waitable_event)) { |
} |