Bug 46305 - Stub out a PluginProcessManager class
Summary: Stub out a PluginProcessManager class
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-22 13:58 PDT by Anders Carlsson
Modified: 2010-09-22 15:08 PDT (History)
0 users

See Also:


Attachments
Patch (10.63 KB, patch)
2010-09-22 13:59 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-22 13:58:11 PDT
Stub out a PluginProcessManager class
Comment 1 Anders Carlsson 2010-09-22 13:59:31 PDT
Created attachment 68435 [details]
Patch
Comment 2 Adam Roben (:aroben) 2010-09-22 14:03:56 PDT
Comment on attachment 68435 [details]
Patch

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

What about WebKit2.vcproj?

> WebKit2/UIProcess/Plugins/PluginProcessManager.cpp:56
> +void PluginProcessManager::removePluginProcessProxy(PluginProcessProxy* pluginProcessProxy)
> +{
> +    size_t vectorIndex = m_pluginProcesses.find(pluginProcessProxy);
> +    ASSERT(vectorIndex != notFound);
> +
> +    m_pluginProcesses.remove(vectorIndex);
> +}

Maybe a HashSet would be better?

> WebKit2/UIProcess/WebProcessProxy.h:97
> +    WebContext* context() const { return m_context; }

I don't see any callers of this function. It seems strange to add it in this patch if it won't be used until a future patch.
Comment 3 Anders Carlsson 2010-09-22 15:08:51 PDT
Committed r68088: <http://trac.webkit.org/changeset/68088>