WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
314387
Add GlyphPageCacheEntry destructor
https://bugs.webkit.org/show_bug.cgi?id=314387
Summary
Add GlyphPageCacheEntry destructor
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-05-08 03:59:00 PDT
<
rdar://problem/176543249
>
adrian_taylor
Comment 2
2026-05-08 04:01:30 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/64539
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.
Top of Page
Format For Printing
XML
Clone This Bug