Adopt more smart pointers in DOM code.
Pull request: https://github.com/WebKit/WebKit/pull/19522
Committed 269848@main (a55f0e9fc70c): <https://commits.webkit.org/269848@main> Reviewed commits have been landed. Closing PR #19522 and removing active labels.
<rdar://problem/117585766>