Index: chrome/browser/nacl_host/nacl_process_host.cc |
=================================================================== |
--- chrome/browser/nacl_host/nacl_process_host.cc (revision 100721) |
+++ chrome/browser/nacl_host/nacl_process_host.cc (working copy) |
@@ -169,8 +169,9 @@ |
cmd_line->AppendSwitchASCII(switches::kProcessType, |
switches::kNaClLoaderProcess); |
- |
cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id()); |
+ if (logging::DialogsAreSuppressed()) |
+ cmd_line->AppendSwitch(switches::kNoErrorDialogs); |
if (!nacl_loader_prefix.empty()) |
cmd_line->PrependWrapper(nacl_loader_prefix); |