Adopt more smart pointers in WebCore/html.
Pull request: https://github.com/WebKit/WebKit/pull/24676
Committed 275067@main (df78abde6c53): <https://commits.webkit.org/275067@main> Reviewed commits have been landed. Closing PR #24676 and removing active labels.
<rdar://problem/123332307>