| 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 9197d0cb264e99f6ea28f71a90f9fada6df650d8..a77a9f1a0e989b5f889eece1c40fc7ae3798cb2b 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -195,7 +195,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
|
|
|
| @@ -1882,14 +1881,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
|
| }
|
| }
|
|
|
| @@ -2474,13 +2465,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.
|
|
|