Bug 314387

Summary: Add GlyphPageCacheEntry destructor
Product: WebKit Reporter: adrian_taylor
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

adrian_taylor
Reported 2026-05-08 03:58:53 PDT
The GlyphPageCacheEntry type contains a std::unique_ptr<MixedFontGlyphPage>, where MixedFontGlyphPage is forward-declared. Swift attempts to generate an implicit destructor, causing an error. This is related to the Swift issue rdar://152495753 where it attempts sometimes to generate more special members than C++ would, but in this case, the solution is to explicitly define a destructor. This change is necessary for us to be able to annotate WebKit reference counted base classes with SWIFT_SHARED_REFERENCE.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-05-08 03:59:00 PDT
adrian_taylor
Comment 2 2026-05-08 04:01:30 PDT
EWS
Comment 3 2026-05-08 11:13:59 PDT
Committed 312903@main (158626c98e75): <https://commits.webkit.org/312903@main> Reviewed commits have been landed. Closing PR #64539 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.