| Index: trunk/src/components/nacl/loader/nacl_listener.cc
|
| ===================================================================
|
| --- trunk/src/components/nacl/loader/nacl_listener.cc (revision 274314)
|
| +++ trunk/src/components/nacl/loader/nacl_listener.cc (working copy)
|
| @@ -244,11 +244,11 @@
|
| std::string channel_name =
|
| CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
|
| switches::kProcessChannelID);
|
| - channel_ = IPC::SyncChannel::Create(
|
| - this, io_thread_.message_loop_proxy().get(), &shutdown_event_);
|
| + channel_.reset(new IPC::SyncChannel(
|
| + this, io_thread_.message_loop_proxy().get(), &shutdown_event_));
|
| filter_ = new IPC::SyncMessageFilter(&shutdown_event_);
|
| channel_->AddFilter(filter_.get());
|
| - channel_->InitClient(channel_name, true);
|
| + channel_->Init(channel_name, IPC::Channel::MODE_CLIENT, true);
|
| main_loop_ = base::MessageLoop::current();
|
| main_loop_->Run();
|
| }
|
|
|