Bug 46734 - Improve plug-in process lifecycle handling
Summary: Improve plug-in process lifecycle handling
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-28 10:14 PDT by Anders Carlsson
Modified: 2010-09-28 10:30 PDT (History)
0 users

See Also:


Attachments
Patch (8.20 KB, patch)
2010-09-28 10:20 PDT, Anders Carlsson
aroben: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>