Index: content/browser/browser_child_process_host_impl.cc |
diff --git a/content/browser/browser_child_process_host_impl.cc b/content/browser/browser_child_process_host_impl.cc |
index 1a0af7bb25a86928839b801bda21963225a26e0a..34960dfe0464e48002e403f94b5fd0c9cdad9aab 100644 |
--- a/content/browser/browser_child_process_host_impl.cc |
+++ b/content/browser/browser_child_process_host_impl.cc |
@@ -36,8 +36,6 @@ |
#include "content/public/common/content_switches.h" |
#include "content/public/common/process_type.h" |
#include "content/public/common/result_codes.h" |
-#include "ipc/attachment_broker.h" |
-#include "ipc/attachment_broker_privileged.h" |
#include "mojo/edk/embedder/embedder.h" |
#if defined(OS_MACOSX) |
@@ -145,19 +143,6 @@ BrowserChildProcessHostImpl::BrowserChildProcessHostImpl( |
weak_factory_(this) { |
data_.id = ChildProcessHostImpl::GenerateChildProcessUniqueId(); |
-#if USE_ATTACHMENT_BROKER |
- // Construct the privileged attachment broker early in the life cycle of a |
- // child process. This ensures that when a test is being run in one of the |
- // single process modes, the global attachment broker is the privileged |
- // attachment broker, rather than an unprivileged attachment broker. |
-#if defined(OS_MACOSX) |
- IPC::AttachmentBrokerPrivileged::CreateBrokerIfNeeded( |
- MachBroker::GetInstance()); |
-#else |
- IPC::AttachmentBrokerPrivileged::CreateBrokerIfNeeded(); |
-#endif // defined(OS_MACOSX) |
-#endif // USE_ATTACHMENT_BROKER |
- |
child_process_host_.reset(ChildProcessHost::Create(this)); |
AddFilter(new TraceMessageFilter(data_.id)); |
AddFilter(new ProfilerMessageFilter(process_type)); |