Index: content/gpu/gpu_main.cc |
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc |
index 73762ad241c8dd75919f0d1680801459b7f88d23..c79e6ba2c863a033fa8685f4bf5e5ef586f8dfa7 100644 |
--- a/content/gpu/gpu_main.cc |
+++ b/content/gpu/gpu_main.cc |
@@ -54,6 +54,7 @@ |
#if defined(OS_MACOSX) |
#include "base/message_loop/message_pump_mac.h" |
+#include "content/common/sandbox_mac.h" |
#endif |
#if defined(ADDRESS_SANITIZER) |
@@ -320,6 +321,8 @@ int GpuMain(const MainFunctionParams& parameters) { |
} |
#elif defined(OS_WIN) |
gpu_info.sandboxed = StartSandboxWindows(parameters.sandbox_info); |
+#elif defined(OS_MACOSX) |
+ gpu_info.sandboxed = Sandbox::SandboxIsCurrentlyActive(); |
#endif |
} else { |
dead_on_arrival = true; |