| 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 cf90419f911d2517cd2f951efe1d3710a169c4e7..83a4bd7d7381b6d11fd7cbfb095cdc3d0764e94c 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -197,7 +197,6 @@
|
|
|
| #if defined(OS_MACOSX) && !defined(OS_IOS)
|
| #include "content/browser/bootstrap_sandbox_manager_mac.h"
|
| -#include "content/browser/browser_io_surface_manager_mac.h"
|
| #include "content/browser/mach_broker_mac.h"
|
| #endif
|
|
|
| @@ -1887,14 +1886,6 @@ void RenderProcessHostImpl::Cleanup() {
|
| // Remove ourself from the list of renderer processes so that we can't be
|
| // reused in between now and when the Delete task runs.
|
| UnregisterHost(GetID());
|
| -
|
| -#if defined(OS_MACOSX) && !defined(OS_IOS)
|
| - if (!io_surface_manager_token_.IsZero()) {
|
| - BrowserIOSurfaceManager::GetInstance()->InvalidateChildProcessToken(
|
| - io_surface_manager_token_);
|
| - io_surface_manager_token_.SetZero();
|
| - }
|
| -#endif
|
| }
|
| }
|
|
|
| @@ -2501,13 +2492,6 @@ void RenderProcessHostImpl::OnProcessLaunched() {
|
| UpdateProcessPriority();
|
| }
|
|
|
| -#if defined(OS_MACOSX) && !defined(OS_IOS)
|
| - io_surface_manager_token_ =
|
| - BrowserIOSurfaceManager::GetInstance()->GenerateChildProcessToken(
|
| - GetID());
|
| - Send(new ChildProcessMsg_SetIOSurfaceManagerToken(io_surface_manager_token_));
|
| -#endif
|
| -
|
| // NOTE: This needs to be before sending queued messages because
|
| // ExtensionService uses this notification to initialize the renderer process
|
| // with state that must be there before any JavaScript executes.
|
|
|