RESOLVED FIXED 213396
[iOS] RenderThemeIOS::cssValueToSystemColorMap() does an unnecessary linear search under systemColorFromCSSValueID()
https://bugs.webkit.org/show_bug.cgi?id=213396
Summary [iOS] RenderThemeIOS::cssValueToSystemColorMap() does an unnecessary linear s...
Chris Dumez
Reported 2020-06-19 11:52:11 PDT
RenderThemeIOS::cssValueToSystemColorMap() does an unnecessary linear search under systemColorFromCSSValueID(). cssValueToSystemColorMap() already has the selector, yet it passes a CSSValueID to systemColorFromCSSValueID() which then does a linear search to match the CSSValueID to a selector.
Attachments
Patch (3.65 KB, patch)
2020-06-19 12:09 PDT, Chris Dumez
no flags
Patch (3.81 KB, patch)
2020-06-19 12:17 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2020-06-19 12:09:37 PDT
Radar WebKit Bug Importer
Comment 2 2020-06-19 12:11:12 PDT
Chris Dumez
Comment 3 2020-06-19 12:17:26 PDT
EWS
Comment 4 2020-06-19 13:13:19 PDT
Committed r263282: <https://trac.webkit.org/changeset/263282> All reviewed patches have been landed. Closing bug and clearing flags on attachment 402304 [details].
Note You need to log in before you can comment on or make changes to this bug.