[Webkit-unassigned] [Bug 30786] Fix QtWebKit build for WIN_OS if Netscape plug-in support is turned off and refactor some related code
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 26 20:42:37 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=30786
--- Comment #3 from Laszlo Gombos <laszlo.1.gombos at nokia.com> 2009-10-26 20:42:37 PDT ---
(In reply to comment #2)
> (From update of attachment 41889 [details])
> Why not keep the windows specific function in the PluginPackageWin? Having both
> PluginPackageWin and Windows ifdefs in base PluginPackage.cpp seems weird.
If netscape plugin support is turned off PluginPackageWin is not compiled in
for QtWebKit (none of the files from under plugins/win). Moving the function to
PluginPackage.cpp seemd like the best option.
>
> > +#if PLATFORM(WIN_OS)
> > + if (m_moduleVersion.mostSig != compareVersion.mostSig)
> > + return m_moduleVersion.mostSig > compareVersion.mostSig ? 1 : -1;
> > + if (m_moduleVersion.leastSig != compareVersion.leastSig)
> > + return m_moduleVersion.leastSig > compareVersion.leastSig ? 1 : -1;
>
> I realize this is copy code but is this really correct? If mostSig differs the
> leastSig is ignored? (i don't really know anything about windows plugins).
This is so that v3.1 > v2.2 - it seems reasonable to me.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list