Use WeakHashSet instead of HashSet of raw pointers.
Pull request: https://github.com/WebKit/WebKit/pull/9018
Committed 259300@main (fc6334848947): <https://commits.webkit.org/259300@main> Reviewed commits have been landed. Closing PR #9018 and removing active labels.
<rdar://problem/104613354>