Index: content/browser/ppapi_plugin_process_host.cc |
diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc |
index 804274451a025b7ea4eb8864400d3f9242e28a38..73de41b3f9737720f0220853f7f8e9297b4a6efa 100644 |
--- a/content/browser/ppapi_plugin_process_host.cc |
+++ b/content/browser/ppapi_plugin_process_host.cc |
@@ -235,10 +235,13 @@ bool PpapiPluginProcessHost::Init(const content::PepperPluginInfo& info) { |
// TODO(vtl): Stop passing flash args in the command line, on windows is |
// going to explode. |
static const char* kPluginForwardSwitches[] = { |
- switches::kNoSandbox, |
switches::kDisableSeccompFilterSandbox, |
+#if defined(OS_MACOSX) |
+ switches::kEnableSandboxLogging, |
+#endif |
+ switches::kNoSandbox, |
switches::kPpapiFlashArgs, |
- switches::kPpapiStartupDialog |
+ switches::kPpapiStartupDialog, |
}; |
cmd_line->CopySwitchesFrom(browser_command_line, kPluginForwardSwitches, |
arraysize(kPluginForwardSwitches)); |