RESOLVED FIXED315840
FontChanges::platformFontFamilyNameForCSS: Retain CTFont before passing to CTFontCopyPostScriptName
https://bugs.webkit.org/show_bug.cgi?id=315840
Summary FontChanges::platformFontFamilyNameForCSS: Retain CTFont before passing to CT...
Vitor Roriz
Reported 2026-05-29 05:57:40 PDT
font->ctFont() returns an unretained CTFontRef, which the UnretainedCallArgs static analyzer flags when passed directly to CTFontCopyPostScriptName. Wrap it in protect() so the argument has a retained origin, and drop the now-unneeded suppression entry.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-05-29 05:57:48 PDT
Vitor Roriz
Comment 2 2026-05-29 06:07:32 PDT
EWS
Comment 3 2026-05-29 09:36:17 PDT
Committed 314142@main (1ea0492626b5): <https://commits.webkit.org/314142@main> Reviewed commits have been landed. Closing PR #66016 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.