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

Unified Diff: trunk/src/ppapi/nacl_irt/ppapi_dispatcher.cc

Issue 312553004: Revert 274310 "Introduce IPC::ChannelProxy::Create*() and IPC::S..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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
« no previous file with comments | « trunk/src/ppapi/nacl_irt/manifest_service.cc ('k') | trunk/src/ppapi/proxy/proxy_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ppapi/nacl_irt/ppapi_dispatcher.cc
===================================================================
--- trunk/src/ppapi/nacl_irt/ppapi_dispatcher.cc (revision 274314)
+++ trunk/src/ppapi/nacl_irt/ppapi_dispatcher.cc (working copy)
@@ -63,13 +63,13 @@
// Delay initializing the SyncChannel until after we add filters. This
// ensures that the filters won't miss any messages received by
// the channel.
- channel_ =IPC::SyncChannel::Create(
- this, GetIPCMessageLoop(), GetShutdownEvent());
+ channel_.reset(new IPC::SyncChannel(
+ this, GetIPCMessageLoop(), GetShutdownEvent()));
channel_->AddFilter(new proxy::PluginMessageFilter(
NULL, proxy::PluginGlobals::Get()->resource_reply_thread_registrar()));
channel_->AddFilter(
new tracing::ChildTraceMessageFilter(message_loop_.get()));
- channel_->InitServer(channel_handle, true);
+ channel_->Init(channel_handle, IPC::Channel::MODE_SERVER, true);
}
base::MessageLoopProxy* PpapiDispatcher::GetIPCMessageLoop() {
« no previous file with comments | « trunk/src/ppapi/nacl_irt/manifest_service.cc ('k') | trunk/src/ppapi/proxy/proxy_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698