Bug 305754

Summary: Allow implicit conversion from RefPtr<T> to T*
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Web Template FrameworkAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: annevk, ggaren, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 305791    

Chris Dumez
Reported 2026-01-18 22:04:09 PST
Allow implicit conversion from RefPtr<T> to T*. This is consistent with what we do for RetainPtr and Ref. This also makes smart pointer adoption a little easier.
Attachments
Chris Dumez
Comment 1 2026-01-18 23:17:24 PST
EWS
Comment 2 2026-01-19 05:35:08 PST
Committed 305823@main (3e93d47f3f58): <https://commits.webkit.org/305823@main> Reviewed commits have been landed. Closing PR #56814 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-01-19 05:36:16 PST
Note You need to log in before you can comment on or make changes to this bug.