Adopt more smart pointers in ContentVisibilityDocumentState.
Pull request: https://github.com/WebKit/WebKit/pull/19151
Committed 269408@main (a1ad490d8e42): <https://commits.webkit.org/269408@main> Reviewed commits have been landed. Closing PR #19151 and removing active labels.
<rdar://problem/117077059>