In Document and SVGDocumentExtensions, there are a few HashSet of elements. Use WeakHashSet instead.
Created attachment 427751 [details] Patch
Comment on attachment 427751 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427751&action=review > Source/WebCore/svg/SVGDocumentExtensions.h:88 > HashMap<SVGElement*, std::unique_ptr<HashSet<SVGElement*>>> m_elementDependencies; I'd address this in a separate patch since it's a bit more involved.
Committed r277013 (237329@main): <https://commits.webkit.org/237329@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 427751 [details].
<rdar://problem/77554370>