Index: content/browser/browser_child_process_host_impl.cc |
=================================================================== |
--- content/browser/browser_child_process_host_impl.cc (revision 148974) |
+++ content/browser/browser_child_process_host_impl.cc (working copy) |
@@ -121,6 +121,11 @@ |
content::GetContentClient()->browser()->AppendExtraCommandLineSwitches( |
cmd_line, data_.id); |
+#if defined(OS_POSIX) |
+ if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kChildCleanExit)) |
+ cmd_line->AppendSwitch(switches::kChildCleanExit); |
+#endif |
+ |
child_process_.reset(new ChildProcessLauncher( |
#if defined(OS_WIN) |
exposed_dir, |