Index: components/nacl/loader/nacl_listener.cc |
diff --git a/components/nacl/loader/nacl_listener.cc b/components/nacl/loader/nacl_listener.cc |
index 9ff19730127a920c78100f1655d8bac675215004..4cbb603cabb58f01f4ea29fd26a1df57be098c97 100644 |
--- a/components/nacl/loader/nacl_listener.cc |
+++ b/components/nacl/loader/nacl_listener.cc |
@@ -30,7 +30,6 @@ |
#include "components/nacl/loader/nacl_validation_db.h" |
#include "components/nacl/loader/nacl_validation_query.h" |
#include "content/public/common/mojo_channel_switches.h" |
-#include "ipc/attachment_broker_unprivileged.h" |
#include "ipc/ipc_channel_handle.h" |
#include "ipc/ipc_switches.h" |
#include "ipc/ipc_sync_channel.h" |
@@ -173,7 +172,6 @@ NaClListener::NaClListener() |
number_of_cores_(-1), // unknown/error |
#endif |
is_started_(false) { |
- IPC::AttachmentBrokerUnprivileged::CreateBrokerIfNeeded(); |
io_thread_.StartWithOptions( |
base::Thread::Options(base::MessageLoop::TYPE_IO, 0)); |
DCHECK(g_listener == NULL); |
@@ -251,9 +249,6 @@ void NaClListener::Listen() { |
&shutdown_event_); |
filter_ = channel_->CreateSyncMessageFilter(); |
channel_->AddFilter(new FileTokenMessageFilter()); |
- IPC::AttachmentBroker* global = IPC::AttachmentBroker::GetGlobal(); |
- if (global && !global->IsPrivilegedBroker()) |
- global->RegisterBrokerCommunicationChannel(channel_.get()); |
channel_->Init(channel_handle, IPC::Channel::MODE_CLIENT, true); |
main_task_runner_ = base::ThreadTaskRunnerHandle::Get(); |
base::RunLoop().Run(); |