[Webkit-unassigned] [Bug 120235] Eliminate a useless comparison in srcset's candidate selection algorithm

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 23 14:35:37 PDT 2013


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





--- Comment #2 from Yoav Weiss <yoav at yoav.ws>  2013-08-23 14:35:04 PST ---
According to Darin Adler's comment (https://bugs.webkit.org/show_bug.cgi?id=120168#c12 ), I shortened the iteration on the candidates vector, to eliminate the comparison of the last candidate's qualifier to the DPR, since it will be returned in any case.
I also removed the MIME types from the related tests, since their not relevant, and can cause the tests to fail.

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