Bug 307668

Summary: Add a `protect()` overload for `WeakObjCPtr<T>`
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Web Template FrameworkAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Chris Dumez
Reported 2026-02-12 03:53:42 PST
Add a `protect()` overload for `WeakObjCPtr<T>`, for convenience and consistency with other weak pointer types. Adopt it in a few places.
Attachments
Chris Dumez
Comment 1 2026-02-12 04:13:47 PST
EWS
Comment 2 2026-02-12 21:54:14 PST
Committed 307438@main (4d65004e7f2c): <https://commits.webkit.org/307438@main> Reviewed commits have been landed. Closing PR #58505 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-02-12 21:55:13 PST
Note You need to log in before you can comment on or make changes to this bug.