Bug 46734

Summary: Improve plug-in process lifecycle handling
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch aroben: review+

Description Anders Carlsson 2010-09-28 10:14:38 PDT
Improve plug-in process lifecycle handling
Comment 1 Anders Carlsson 2010-09-28 10:20:26 PDT
Created attachment 69066 [details]
Patch
Comment 2 Adam Roben (:aroben) 2010-09-28 10:26:54 PDT
Comment on attachment 69066 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=69066&action=review

> WebKit2/WebProcess/Plugins/PluginProcessConnection.cpp:83
> +    for (HashMap<uint64_t, PluginProxy*>::const_iterator it = m_plugins.begin(), end = m_plugins.end(); it != end; ++it) {
> +        PluginProxy* pluginProxy = it->second;
> +
> +        pluginProxy->pluginProcessCrashed();
> +    }

You could iterate over just the values.
Comment 3 Anders Carlsson 2010-09-28 10:30:56 PDT
Committed r68534: <http://trac.webkit.org/changeset/68534>