Bug 291149
| Summary: | Drop WTF::URL's `operator NSURL *()` | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | Web Template Framework | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
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
Pull request: https://github.com/WebKit/WebKit/pull/43701
EWS
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
<rdar://problem/148708962>