Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(912)

Unified Diff: ppapi/nacl_irt/ppapi_dispatcher.cc

Issue 310853003: Add IPC::ChannelProxy::Create() and IPC::SyncChannel::Create() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(

Powered by Google App Engine
This is Rietveld 408576698