Switch away from the legacy code.
Pull request: https://github.com/WebKit/WebKit/pull/6971
<rdar://problem/102818616>
Committed 257227@main (2cf89aa97e32): <https://commits.webkit.org/257227@main> Reviewed commits have been landed. Closing PR #6971 and removing active labels.