Bug 262514
Summary: | Use HashMap::ensure() in FontCascadeFonts::glyphDataForCharacter() | ||
---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
Component: | Layout and Rendering | Assignee: | Chris Dumez <cdumez> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Chris Dumez
Use HashMap::ensure() in FontCascadeFonts::glyphDataForCharacter() instead of adding a "null" value and then checking if the value is null. This simplifies the code a bit and may be a little more efficient.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/18524
EWS
Committed 268805@main (84766e172527): <https://commits.webkit.org/268805@main>
Reviewed commits have been landed. Closing PR #18524 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/116427050>