Use WeakPtr instead of a raw pointer.
Pull request: https://github.com/WebKit/WebKit/pull/11907
Committed 262070@main (e6597f549cfd): <https://commits.webkit.org/262070@main> Reviewed commits have been landed. Closing PR #11907 and removing active labels.
<rdar://problem/107186198>