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
291149
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
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2025-04-05 18:56:32 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/43701
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
<
rdar://problem/148708962
>
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