Index: content/browser/plugin_process_host.cc |
diff --git a/content/browser/plugin_process_host.cc b/content/browser/plugin_process_host.cc |
index 9bb8cf8ff5ff85321b978b351c9a80a4dc9e5980..4b6f361c7aea466786911c44fb27bdc00186b630 100644 |
--- a/content/browser/plugin_process_host.cc |
+++ b/content/browser/plugin_process_host.cc |
@@ -248,15 +248,15 @@ bool PluginProcessHost::Init(const WebPluginInfo& info) { |
cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id); |
- process_->Launch( |
- new PluginSandboxedProcessLauncherDelegate(process_->GetHost()), |
- cmd_line); |
- |
// The plugin needs to be shutdown gracefully, i.e. NP_Shutdown needs to be |
// called on the plugin. The plugin process exits when it receives the |
// OnChannelError notification indicating that the browser plugin channel has |
// been destroyed. |
- process_->SetTerminateChildOnShutdown(false); |
+ bool terminate_on_shutdown = false; |
+ process_->Launch( |
+ new PluginSandboxedProcessLauncherDelegate(process_->GetHost()), |
+ cmd_line, |
+ terminate_on_shutdown); |
ResourceMessageFilter::GetContextsCallback get_contexts_callback( |
base::Bind(&PluginProcessHost::GetContexts, |