Fix out of date declarations
<rdar://problem/122855488>
Pull request: https://github.com/WebKit/WebKit/pull/24325
Committed 274532@main (7a0a0255bbe1): <https://commits.webkit.org/274532@main> Reviewed commits have been landed. Closing PR #24325 and removing active labels.