[webkit-changes] [WebKit/WebKit] c6ebbb: Use SingleThreadWeakPtr for SVGResourcesMap::legac...

Said Abou-Hallawa noreply at github.com
Tue Feb 25 19:34:50 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c6ebbb101667b649a1ef193c7294d79c9a2b01c7
      https://github.com/WebKit/WebKit/commit/c6ebbb101667b649a1ef193c7294d79c9a2b01c7
  Author: Said Abou-Hallawa <said at apple.com>
  Date:   2025-02-25 (Tue, 25 Feb 2025)

  Changed paths:
    M Source/WebCore/dom/TreeScope.cpp

  Log Message:
  -----------
  Use SingleThreadWeakPtr for SVGResourcesMap::legacyResources
https://bugs.webkit.org/show_bug.cgi?id=288536
rdar://145361009

Reviewed by Ryosuke Niwa.

Protect the code path when requesting an SVG clipper resource given its URI by
making SVGResourcesMap::legacyResources map from `AtomString` to
`SingleThreadWeakPtr<LegacyRenderSVGResourceContainer>`.

* Source/WebCore/dom/TreeScope.cpp:
(WebCore::TreeScope::lookupLegacySVGResoureById const):

Canonical link: https://commits.webkit.org/291085@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list