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