Index: content/browser/child_process_launcher.cc |
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc |
index 28be72bb9c32eb853702adbdb0726379a3f9825c..aaecfeedd45d3e749f74ccd3749c0b71d4b8a15d 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) { |