RESOLVED FIXED291149
Drop WTF::URL's `operator NSURL *()`
https://bugs.webkit.org/show_bug.cgi?id=291149
Summary Drop WTF::URL's `operator NSURL *()`
Chris Dumez
Reported 2025-04-05 18:19:45 PDT
Drop WTF::URL's `operator NSURL *()` and use URL::createNSURL() instead. `createNSURL()` is better because it makes it clearer we're constructing a new NSURL object. It also returns a RetainPtr<NSURL> instead of an autoreleased object. This is a step towards reducing the use of autorelease in our codebase.
Attachments
Chris Dumez
Comment 1 2025-04-05 18:56:32 PDT
EWS
Comment 2 2025-04-06 16:50:08 PDT
Committed 293338@main (d66195dc56b1): <https://commits.webkit.org/293338@main> Reviewed commits have been landed. Closing PR #43701 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-04-06 16:51:15 PDT
Note You need to log in before you can comment on or make changes to this bug.