Use more smart pointers for members.
Pull request: https://github.com/WebKit/WebKit/pull/28647
<rdar://problem/128603024>
Committed 281261@main (d827195d613f): <https://commits.webkit.org/281261@main> Reviewed commits have been landed. Closing PR #28647 and removing active labels.