| Index: ppapi/nacl_irt/ppapi_dispatcher.cc
|
| diff --git a/ppapi/nacl_irt/ppapi_dispatcher.cc b/ppapi/nacl_irt/ppapi_dispatcher.cc
|
| index 9ca76b28b8240dd4e28a323ebde65324c1a261d2..0600fc19a27181d2df199f5f488786938ddb2381 100644
|
| --- a/ppapi/nacl_irt/ppapi_dispatcher.cc
|
| +++ b/ppapi/nacl_irt/ppapi_dispatcher.cc
|
| @@ -63,8 +63,8 @@ PpapiDispatcher::PpapiDispatcher(scoped_refptr<base::MessageLoopProxy> io_loop,
|
| // Delay initializing the SyncChannel until after we add filters. This
|
| // ensures that the filters won't miss any messages received by
|
| // the channel.
|
| - channel_.reset(new IPC::SyncChannel(
|
| - this, GetIPCMessageLoop(), GetShutdownEvent()));
|
| + channel_ =
|
| + IPC::SyncChannel::Create(this, GetIPCMessageLoop(), GetShutdownEvent());
|
| channel_->AddFilter(new proxy::PluginMessageFilter(
|
| NULL, proxy::PluginGlobals::Get()->resource_reply_thread_registrar()));
|
| channel_->AddFilter(
|
|
|