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 666fdf39e18e714f3b6883c23b1110dbcf3d67b7..a2d45f13311653a99ad5d824ed573f183ac162f1 100644 |
--- a/content/browser/browser_child_process_host_impl.cc |
+++ b/content/browser/browser_child_process_host_impl.cc |
@@ -33,8 +33,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) |
@@ -129,19 +127,6 @@ BrowserChildProcessHostImpl::BrowserChildProcessHostImpl( |
is_channel_connected_(false) { |
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) && !defined(OS_IOS) |
- IPC::AttachmentBrokerPrivileged::CreateBrokerIfNeeded( |
- MachBroker::GetInstance()); |
-#else |
- IPC::AttachmentBrokerPrivileged::CreateBrokerIfNeeded(); |
-#endif // defined(OS_MACOSX) && !defined(OS_IOS) |
-#endif // USE_ATTACHMENT_BROKER |
- |
child_process_host_.reset(ChildProcessHost::Create(this)); |
AddFilter(new TraceMessageFilter(data_.id)); |
AddFilter(new ProfilerMessageFilter(process_type)); |