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

Unified Diff: trunk/src/components/nacl/loader/nacl_trusted_listener.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
Index: trunk/src/components/nacl/loader/nacl_trusted_listener.cc
===================================================================
--- trunk/src/components/nacl/loader/nacl_trusted_listener.cc (revision 274314)
+++ trunk/src/components/nacl/loader/nacl_trusted_listener.cc (working copy)
@@ -8,8 +8,9 @@
const IPC::ChannelHandle& handle,
base::MessageLoopProxy* message_loop_proxy,
base::WaitableEvent* shutdown_event) {
- channel_ = IPC::SyncChannel::CreateServer(
- handle, this, message_loop_proxy, true, shutdown_event);
+ channel_.reset(new IPC::SyncChannel(handle, IPC::Channel::MODE_SERVER, this,
+ message_loop_proxy, true,
+ shutdown_event));
}
NaClTrustedListener::~NaClTrustedListener() {
« no previous file with comments | « trunk/src/components/nacl/loader/nacl_listener.cc ('k') | trunk/src/components/nacl/renderer/manifest_service_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698