Summary: | [UNIX] Don't use WebCore::PluginPackage to get plugin information | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||||
Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | Keywords: | Gtk, Qt | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | PC | ||||||||
OS: | Linux | ||||||||
Attachments: |
|
Description
Carlos Garcia Campos
2011-06-17 12:13:19 PDT
Created attachment 97633 [details]
Patch
Created attachment 97790 [details]
Patach rebased to current git master
It seems previous patch didn't apply, this one has been rebased to current git master so it should apply.
Comment on attachment 97790 [details] Patach rebased to current git master View in context: https://bugs.webkit.org/attachment.cgi?id=97790&action=review Looks good, but please take a look at the following suggestions before landing. > Source/WebKit2/Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp:104 > + Vector<String> mime; Maybe call this something like mimeTypeParts. > Source/WebKit2/Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp:116 > + Vector<String> extensions; > + if (mime.size() > 1) { > + mime[1].split(UChar(','), false, extensions); > + mimeInfo.extensions = extensions; Can you just pass mimeInfo.extensions to the split call here? Committed r89256: <http://trac.webkit.org/changeset/89256> |