Index: components/nacl/broker/nacl_broker_listener.cc |
diff --git a/components/nacl/broker/nacl_broker_listener.cc b/components/nacl/broker/nacl_broker_listener.cc |
index c4f268da3cddb3ab83159970df2c3d9cd9ef1e12..bceed222795711864a31cbd8e9ca39216687c0ea 100644 |
--- a/components/nacl/broker/nacl_broker_listener.cc |
+++ b/components/nacl/broker/nacl_broker_listener.cc |
@@ -40,8 +40,7 @@ void NaClBrokerListener::Listen() { |
std::string channel_name = |
CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
switches::kProcessChannelID); |
- channel_.reset(new IPC::Channel( |
- channel_name, IPC::Channel::MODE_CLIENT, this)); |
+ channel_ = IPC::Channel::CreateClient(channel_name, this); |
CHECK(channel_->Connect()); |
base::MessageLoop::current()->Run(); |
} |