[webkit-changes] [WebKit/WebKit] cd8b6c: Remove deadcode from SVGResourcesCache::clientStyl...

Rob Buis noreply at github.com
Thu Oct 19 06:12:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cd8b6c24edddb345943f0eca8c04a13a059f9672
      https://github.com/WebKit/WebKit/commit/cd8b6c24edddb345943f0eca8c04a13a059f9672
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2023-10-19 (Thu, 19 Oct 2023)

  Changed paths:
    M Source/WebCore/rendering/svg/SVGResourcesCache.cpp

  Log Message:
  -----------
  Remove deadcode from SVGResourcesCache::clientStyleChanged
https://bugs.webkit.org/show_bug.cgi?id=253403

Reviewed by Nikolas Zimmermann.

Remove code that is never ran due to clientStyleChanged
only being called by SVG renderers which are only
associated with SVGElements, making the if statement
always false.

* Source/WebCore/rendering/svg/SVGResourcesCache.cpp:
(WebCore::SVGResourcesCache::clientStyleChanged):

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




More information about the webkit-changes mailing list