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