Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Special-casing the zero glyph page is unnecessary (Part 2)
https://bugs.webkit.org/show_bug.cgi?id=259257 rdar://112344047 Reviewed by Cameron McCormack. This is a follow-up to 266052@main. Each glyph page only holds 16 characters, so the 0th glyph page isn't really special. Almost no text will actually use it. So there's no need to special-case it. (I bet that this special-case wasn't actually created for performance, but just because of how our HashMaps treat 0 as empty...) * Source/WebCore/platform/graphics/Font.cpp: (WebCore::Font::glyphPage const): * Source/WebCore/platform/graphics/Font.h: Canonical link: https://commits.webkit.org/266091@main
- Loading branch information