Index: content/browser/child_process_launcher.cc |
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc |
index 6abe13354fc19da1a55b26a5717a93a138d7212f..0c461f422bd32aef5350a9fd005d354618bad319 100644 |
--- a/content/browser/child_process_launcher.cc |
+++ b/content/browser/child_process_launcher.cc |
@@ -26,6 +26,7 @@ |
#include "content/public/common/sandbox_init.h" |
#elif defined(OS_MACOSX) |
#include "content/browser/bootstrap_sandbox_mac.h" |
+#include "content/browser/browser_io_surface_manager_mac.h" |
#include "content/browser/mach_broker_mac.h" |
#include "sandbox/mac/bootstrap_sandbox.h" |
#elif defined(OS_ANDROID) |
@@ -203,6 +204,9 @@ void LaunchOnLauncherThread(const NotifyCallback& callback, |
// check-in from the new process. |
broker->EnsureRunning(); |
+ // Make sure the IOSurfaceManager service is running. |
+ BrowserIOSurfaceManager::GetInstance()->EnsureRunning(); |
+ |
const int bootstrap_sandbox_policy = delegate->GetSandboxType(); |
if (ShouldEnableBootstrapSandbox() && |
bootstrap_sandbox_policy != SANDBOX_TYPE_INVALID) { |