Index: content/browser/plugin_process_host.cc |
=================================================================== |
--- content/browser/plugin_process_host.cc (revision 86295) |
+++ content/browser/plugin_process_host.cc (working copy) |
@@ -221,6 +221,12 @@ |
#endif |
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. |
+ SetTerminateChildOnShutdown(false); |
+ |
content::GetContentClient()->browser()->PluginProcessHostCreated(this); |
AddFilter(new ResolveProxyMsgHelper(NULL)); |