Bug 314284

Summary: SystemFontDatabase::m_systemFontShorthandCache may hold stale font metrics
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: New BugsAssignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Brent Fulgham
Reported 2026-05-06 20:57:18 PDT
Code analysis has uncovered a correctness issue that causes the SystemFontDatabase to retain stale font metrics after they are no longer needed. Since those entries consists of a string plus 8 bytes worth of size/weight data, this seems worth improving.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-05-06 20:57:34 PDT
Brent Fulgham
Comment 2 2026-05-06 21:30:30 PDT
EWS
Comment 3 2026-05-08 10:15:40 PDT
Committed 312896@main (6bacccff367f): <https://commits.webkit.org/312896@main> Reviewed commits have been landed. Closing PR #64439 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.