Use WeakHashMap instead of HashMap of raw pointers.
Pull request: https://github.com/WebKit/WebKit/pull/10170
Committed 260333@main (544d14e53571): <https://commits.webkit.org/260333@main> Reviewed commits have been landed. Closing PR #10170 and removing active labels.
<rdar://problem/105524443>