Index: trunk/src/components/nacl/broker/nacl_broker_listener.cc |
=================================================================== |
--- trunk/src/components/nacl/broker/nacl_broker_listener.cc (revision 273593) |
+++ trunk/src/components/nacl/broker/nacl_broker_listener.cc (working copy) |
@@ -40,7 +40,8 @@ |
std::string channel_name = |
CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
switches::kProcessChannelID); |
- channel_ = IPC::Channel::CreateClient(channel_name, this); |
+ channel_.reset(new IPC::Channel( |
+ channel_name, IPC::Channel::MODE_CLIENT, this)); |
CHECK(channel_->Connect()); |
base::MessageLoop::current()->Run(); |
} |