Summary: | Implement WKPluginSiteDataManagerGetSitesWithData | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Anders Carlsson <andersca> | ||||
Component: | New Bugs | Assignee: | Anders Carlsson <andersca> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Other | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Anders Carlsson
2011-02-15 16:41:20 PST
Created attachment 82550 [details]
Patch
Comment on attachment 82550 [details]
Patch
r=me
Committed r78647: <http://trac.webkit.org/changeset/78647> Comment on attachment 82550 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=82550&action=review > Source/WebKit2/UIProcess/Plugins/WebPluginSiteDataManager.cpp:96 > + RefPtr<ImmutableArray> resultArray = ImmutableArray::adopt(sitesWK); > + callback->performCallbackWithReturnValue(resultArray.get()); The local variable here doesn’t seem to do any good. > Source/WebKit2/UIProcess/Plugins/WebPluginSiteDataManager.h:33 > +#include <wtf/PassRefPtr.h> Should only need Forward.h since you don’t do anything with PassRefPtr in this header. > Source/WebKit2/UIProcess/Plugins/WebPluginSiteDataManager.h:39 > +namespace CoreIPC { > +class ArgumentDecoder; > +class Connection; > +class MessageID; > +} Yuck, I guess the script is telling you do do this. > Source/WebKit2/WebProcess/WebProcess.cpp:658 > + Vector<String> sites; > + copyToVector(sitesSet, sites); Would be nice to sort this. I hate to have an API that returns a vector in a random order. |