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

Unified Diff: components/nacl/renderer/trusted_plugin_channel.cc

Issue 310853003: Add IPC::ChannelProxy::Create() and IPC::SyncChannel::Create() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Landing Created 6 years, 6 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: 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)) {
}
« no previous file with comments | « components/nacl/renderer/manifest_service_channel.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698