| Index: components/nacl/loader/nacl_listener.cc
|
| diff --git a/components/nacl/loader/nacl_listener.cc b/components/nacl/loader/nacl_listener.cc
|
| index c67e5bcae5e426d372a96f875fdb3358ee848709..98444678e2869d2546c95eae3fea4e1b0653ba21 100644
|
| --- a/components/nacl/loader/nacl_listener.cc
|
| +++ b/components/nacl/loader/nacl_listener.cc
|
| @@ -225,10 +225,10 @@ void NaClListener::Listen() {
|
| &shutdown_event_);
|
| filter_ = channel_->CreateSyncMessageFilter();
|
| channel_->AddFilter(new FileTokenMessageFilter());
|
| - channel_->Init(channel_name, IPC::Channel::MODE_CLIENT, true);
|
| IPC::AttachmentBroker* global = IPC::AttachmentBroker::GetGlobal();
|
| if (global && !global->IsPrivilegedBroker())
|
| global->RegisterBrokerCommunicationChannel(channel_.get());
|
| + channel_->Init(channel_name, IPC::Channel::MODE_CLIENT, true);
|
| main_loop_ = base::MessageLoop::current();
|
| main_loop_->Run();
|
| }
|
|
|