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
262226
Remove RefPtr::releaseConstNonNull
https://bugs.webkit.org/show_bug.cgi?id=262226
Summary
Remove RefPtr::releaseConstNonNull
Ryan Reno
Reported
2023-09-27 15:59:42 PDT
There are no users of releaseConstNonNull. We can use Ref's templated move ctor to move from releaseNonNull's Ref<T> to Ref<const T> which is how Ref<const T> are being constructed from RefPtrs now (see FetchBody::extract)
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-09-27 16:00:10 PDT
<
rdar://problem/116146895
>
Ryan Reno
Comment 2
2023-09-27 16:15:08 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/18314
EWS
Comment 3
2023-09-27 19:34:57 PDT
Committed
268558@main
(b08052889f6e): <
https://commits.webkit.org/268558@main
> Reviewed commits have been landed. Closing PR #18314 and removing active labels.
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