Index: content/browser/utility_process_host_impl.cc |
diff --git a/content/browser/utility_process_host_impl.cc b/content/browser/utility_process_host_impl.cc |
index 550df75c5a5d270d7402f3b32e92e26df96acf2e..82c3c5330ebc931c9f1a4a1c9dc816d8bca9692d 100644 |
--- a/content/browser/utility_process_host_impl.cc |
+++ b/content/browser/utility_process_host_impl.cc |
@@ -145,6 +145,10 @@ bool UtilityProcessHostImpl::StartProcess() { |
cmd_line->AppendSwitch(switches::kChromeFrame); |
if (no_sandbox_ || browser_command_line.HasSwitch(switches::kNoSandbox)) |
cmd_line->AppendSwitch(switches::kNoSandbox); |
+#if defined(OS_MACOSX) |
+ if (browser_command_line.HasSwitch(switches::kEnableSandboxLogging)) |
+ cmd_line->AppendSwitch(switches::kEnableSandboxLogging); |
+#endif |
if (browser_command_line.HasSwitch(switches::kDebugPluginLoading)) |
cmd_line->AppendSwitch(switches::kDebugPluginLoading); |