Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dfd0483563f9853ce9c7e6cf37b0939318e74bca
https://github.com/WebKit/WebKit/commit/dfd0483563f9853ce9c7e6cf37b0939318e74bca
Author: Elika Etemad <[email protected]>
Date: 2026-04-28 (Tue, 28 Apr 2026)
Changed paths:
M Source/WebCore/platform/graphics/coretext/FontCoreText.cpp
Log Message:
-----------
Fix incorrect nesting of m_glyphsWithComplexColorFormat reset.
rdar://169564000
Reviewed by Simon Fraser.
The Font::glyphsWithComplexColorFormat() getter is supposed to return
the previously cached value, but because the "set to empty" line is
misnested, it resets to empty on every call after the first. This patch
corrects the nesting structure so the getter works as intended.
* Source/WebCore/platform/graphics/coretext/FontCoreText.cpp:
(WebCore::Font::glyphsWithComplexColorFormat const):
Originally-landed-as: 305413.281@safari-7624-branch (7e4460228cd6).
rdar://173955759
Canonical link: https://commits.webkit.org/312207@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications