Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 8e41b39d4208b25d8e506390941e12637928c1a6..a64fce646b98d78fafe0cd15a98090310807b0ea 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -159,8 +159,6 @@ |
#include "gpu/command_buffer/client/gpu_switches.h" |
#include "gpu/command_buffer/common/gles2_cmd_utils.h" |
#include "gpu/command_buffer/service/gpu_switches.h" |
-#include "ipc/attachment_broker.h" |
-#include "ipc/attachment_broker_privileged.h" |
#include "ipc/ipc_channel.h" |
#include "ipc/ipc_logging.h" |
#include "ipc/ipc_switches.h" |
@@ -199,7 +197,6 @@ |
#if defined(OS_MACOSX) && !defined(OS_IOS) |
#include "content/browser/bootstrap_sandbox_manager_mac.h" |
-#include "content/browser/mach_broker_mac.h" |
#endif |
#if defined(OS_POSIX) |
@@ -609,22 +606,6 @@ RenderProcessHostImpl::RenderProcessHostImpl( |
if (BootstrapSandboxManager::ShouldEnable()) |
AddObserver(BootstrapSandboxManager::GetInstance()); |
#endif |
- |
-#if USE_ATTACHMENT_BROKER |
- // Construct the privileged attachment broker early in the life cycle of a |
- // render 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 |
-#if defined(OS_MACOSX) && !defined(OS_IOS) |
- mojo::edk::SetMachPortProviderIfNeeded(MachBroker::GetInstance()); |
-#endif // defined(OS_MACOSX) && !defined(OS_IOS) |
} |
// static |