Bug 261748 - Have EventTarget subclass CanMakeCheckedPtr
Summary: Have EventTarget subclass CanMakeCheckedPtr
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-19 09:14 PDT by Chris Dumez
Modified: 2023-09-19 13:51 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2023-09-19 09:14:54 PDT
Have EventTarget subclass CanMakeCheckedPtr and start using CheckedPtr in a few places instead of WeakPtr.
CheckedPtr is more efficient and having EventTarget subclasses (such as Node) support it will help our smart pointer effort.
Comment 1 Chris Dumez 2023-09-19 09:17:27 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17919
Comment 2 EWS 2023-09-19 13:50:03 PDT
Committed 268146@main (621b09e126a6): <https://commits.webkit.org/268146@main>

Reviewed commits have been landed. Closing PR #17919 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-09-19 13:51:19 PDT
<rdar://problem/115744352>