| Index: content/app/content_main_runner.cc
|
| diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
|
| index a686b029de1a41453fa96fb2fbb3f3ff5c1a3def..3b5f88ad7b58b76de4d0aed66959c37b6a70758f 100644
|
| --- a/content/app/content_main_runner.cc
|
| +++ b/content/app/content_main_runner.cc
|
| @@ -90,9 +90,7 @@
|
| #if !defined(OS_IOS)
|
| #include "base/power_monitor/power_monitor_device_source.h"
|
| #include "content/app/mac/mac_init.h"
|
| -#include "content/browser/browser_io_surface_manager_mac.h"
|
| #include "content/browser/mach_broker_mac.h"
|
| -#include "content/child/child_io_surface_manager_mac.h"
|
| #include "content/common/sandbox_init_mac.h"
|
| #endif // !OS_IOS
|
| #endif // OS_WIN
|
| @@ -652,19 +650,6 @@ class ContentMainRunnerImpl : public ContentMainRunner {
|
| (!delegate_ || delegate_->ShouldSendMachPort(process_type))) {
|
| MachBroker::ChildSendTaskPortToParent();
|
| }
|
| -
|
| - if (!command_line.HasSwitch(switches::kSingleProcess) &&
|
| - !process_type.empty() && (process_type == switches::kRendererProcess ||
|
| - process_type == switches::kGpuProcess)) {
|
| - base::mac::ScopedMachSendRight service_port =
|
| - BrowserIOSurfaceManager::LookupServicePort(getppid());
|
| - if (service_port.is_valid()) {
|
| - ChildIOSurfaceManager::GetInstance()->set_service_port(
|
| - service_port.release());
|
| - gfx::IOSurfaceManager::SetInstance(
|
| - ChildIOSurfaceManager::GetInstance());
|
| - }
|
| - }
|
| #elif defined(OS_WIN)
|
| base::win::SetupCRT(command_line);
|
| #endif
|
|
|