[Webkit-unassigned] [Bug 96126] Appcache fallback URL match should use the longest candidate

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 7 11:05:15 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=96126





--- Comment #7 from Yong Li <yoli at rim.com>  2012-09-07 11:05:30 PST ---
(In reply to comment #5)
> (From update of attachment 162801 [details])

> > Source/WebCore/loader/appcache/ApplicationCache.cpp:42
> > +struct FallbackURLGreaterThan {
> > +    bool operator()(const std::pair<KURL, KURL>& lhs, const std::pair<KURL, KURL>& rhs)
> 
> Please just use a "static inline bool" function.
> 

I would suggest the same, but not sure if it can be built with all STL providers and compilers.

-- 
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