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() { |