Deploy more smart pointers in these two files.
Pull request: https://github.com/WebKit/WebKit/pull/16733
Committed 266956@main (943a8749802f): <https://commits.webkit.org/266956@main> Reviewed commits have been landed. Closing PR #16733 and removing active labels.
<rdar://problem/113983612>