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
301991
Rename static_pointer_cast() / static_reference_cast() to unsafeRefPtrDowncast() / unsafeRefDowncast()
https://bugs.webkit.org/show_bug.cgi?id=301991
Summary
Rename static_pointer_cast() / static_reference_cast() to unsafeRefPtrDowncas...
Chris Dumez
Reported
2025-11-04 22:31:00 PST
add `unsafe_` prefix to static_pointer_cast() / static_reference_cast() to make it clear it is unsafe and reduce its use in the codebase.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2025-11-05 01:13:12 PST
Pull request:
https://github.com/WebKit/WebKit/pull/53444
EWS
Comment 2
2025-11-06 20:07:18 PST
Committed
302695@main
(ee6d739d218f): <
https://commits.webkit.org/302695@main
> Reviewed commits have been landed. Closing PR #53444 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-11-06 20:08:12 PST
<
rdar://problem/164224650
>
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