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
300705
Adopt LIFETIME_BOUND for WTF::CheckedPtr
https://bugs.webkit.org/show_bug.cgi?id=300705
Summary
Adopt LIFETIME_BOUND for WTF::CheckedPtr
David Kilzer (:ddkilzer)
Reported
2025-10-14 08:38:20 PDT
Adopt LIFETIME_BOUND for WTF:: CheckedPtr. We add the attribute to get() and introduce unsafeGet(). This prevents new, unsafe uses of get() since that will trigger a warning-as-error, and lets us burn down uses of unsafeGet().
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-10-14 08:38:33 PDT
<
rdar://problem/162605637
>
David Kilzer (:ddkilzer)
Comment 2
2025-10-14 08:42:48 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/52303
EWS
Comment 3
2025-10-14 12:40:47 PDT
Committed
301492@main
(76deffade372): <
https://commits.webkit.org/301492@main
> Reviewed commits have been landed. Closing PR #52303 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