RESOLVED FIXED261415
downcast() should return a smart pointer when passed in a smart pointer
https://bugs.webkit.org/show_bug.cgi?id=261415
Summary downcast() should return a smart pointer when passed in a smart pointer
Chris Dumez
Reported 2023-09-11 10:01:06 PDT
downcast() should return a smart pointer when passed in a smart pointer. Otherwise, it forces us to use the less-safe static_pointer_cast() / static_reference_cast() to cast without causing ref counting churn.
Attachments
Chris Dumez
Comment 1 2023-09-11 10:09:44 PDT
EWS
Comment 2 2023-09-12 15:37:19 PDT
Committed 267923@main (cea23dc5de28): <https://commits.webkit.org/267923@main> Reviewed commits have been landed. Closing PR #17655 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2023-09-12 15:38:13 PDT
Note You need to log in before you can comment on or make changes to this bug.