diff options
Diffstat (limited to 'components/nacl/renderer/trusted_plugin_channel.cc')
-rw-r--r-- | components/nacl/renderer/trusted_plugin_channel.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/nacl/renderer/trusted_plugin_channel.cc b/components/nacl/renderer/trusted_plugin_channel.cc index cfb9523..7ce3d84 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_(IPC::SyncChannel::CreateClient( - handle, this, + channel_(new IPC::SyncChannel( + handle, IPC::Channel::MODE_CLIENT, this, content::RenderThread::Get()->GetIOMessageLoopProxy(), true, waitable_event)) { } |