Index: content/browser/child_process_launcher.cc |
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc |
index 23cf832e6652d9ab198cb85b7749bcdcc4aeda9c..1b0bbdc0960bd1f6bebde1e8501fb606fea5d302 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) { |