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

Unified Diff: components/nacl/renderer/manifest_service_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
« no previous file with comments | « components/nacl/loader/nacl_trusted_listener.cc ('k') | components/nacl/renderer/trusted_plugin_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/renderer/manifest_service_channel.cc
diff --git a/components/nacl/renderer/manifest_service_channel.cc b/components/nacl/renderer/manifest_service_channel.cc
index 606be616a1ab230db7da7c4c6f22b9860227eda6..407b92bd1d08a2f0d526e1a2ef8fb68c9c3b48ff 100644
--- a/components/nacl/renderer/manifest_service_channel.cc
+++ b/components/nacl/renderer/manifest_service_channel.cc
@@ -22,10 +22,13 @@ ManifestServiceChannel::ManifestServiceChannel(
base::WaitableEvent* waitable_event)
: connected_callback_(connected_callback),
delegate_(delegate.Pass()),
- channel_(new IPC::SyncChannel(
- handle, IPC::Channel::MODE_CLIENT, this,
+ channel_(IPC::SyncChannel::Create(
+ handle,
+ IPC::Channel::MODE_CLIENT,
+ this,
content::RenderThread::Get()->GetIOMessageLoopProxy(),
- true, waitable_event)),
+ true,
+ waitable_event)),
weak_ptr_factory_(this) {
}
« no previous file with comments | « components/nacl/loader/nacl_trusted_listener.cc ('k') | components/nacl/renderer/trusted_plugin_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698