And stop using std::exchange with Ref.
Pull request: https://github.com/WebKit/WebKit/pull/7414
Committed 257742@main (591ba3643d00): <https://commits.webkit.org/257742@main> Reviewed commits have been landed. Closing PR #7414 and removing active labels.
<rdar://problem/103261249>