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

Unified Diff: components/nacl/loader/nacl_trusted_listener.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_listener.cc ('k') | components/nacl/renderer/manifest_service_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/loader/nacl_trusted_listener.cc
diff --git a/components/nacl/loader/nacl_trusted_listener.cc b/components/nacl/loader/nacl_trusted_listener.cc
index 19a60387e713d75044777a6e2bf303d88d947036..425381f6dda343297667612c684559df499f5dde 100644
--- a/components/nacl/loader/nacl_trusted_listener.cc
+++ b/components/nacl/loader/nacl_trusted_listener.cc
@@ -8,9 +8,12 @@ NaClTrustedListener::NaClTrustedListener(
const IPC::ChannelHandle& handle,
base::MessageLoopProxy* message_loop_proxy,
base::WaitableEvent* shutdown_event) {
- channel_.reset(new IPC::SyncChannel(handle, IPC::Channel::MODE_SERVER, this,
- message_loop_proxy, true,
- shutdown_event));
+ channel_ = IPC::SyncChannel::Create(handle,
+ IPC::Channel::MODE_SERVER,
+ this,
+ message_loop_proxy,
+ true,
+ shutdown_event);
}
NaClTrustedListener::~NaClTrustedListener() {
« no previous file with comments | « components/nacl/loader/nacl_listener.cc ('k') | components/nacl/renderer/manifest_service_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698