[webkit-changes] [WebKit/WebKit] d911aa: Drop dead code path in `SVGImage`

Ahmad Saleem noreply at github.com
Wed Dec 18 12:51:20 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d911aa1871411e7ecbb3d3467e3371407585ab5f
      https://github.com/WebKit/WebKit/commit/d911aa1871411e7ecbb3d3467e3371407585ab5f
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2024-12-18 (Wed, 18 Dec 2024)

  Changed paths:
    M Source/WebCore/svg/graphics/SVGImage.cpp

  Log Message:
  -----------
  Drop dead code path in `SVGImage`
https://bugs.webkit.org/show_bug.cgi?id=284435
rdar://141641722

Reviewed by Fujii Hironori.

Merge: https://chromium.googlesource.com/chromium/src.git/+/16d08f8fcf232c5eac4c2b0c53b61756cc39baaf

The SVGImage class is marked final and SVGImage::usesContainerSize()
returns true.  This means setContainerSize should never have to bail
out early over not using container size.

* Source/WebCore/svg/graphics/SVGImage.cpp:
(WebCore::SVGImage::setContainerSize):

Canonical link: https://commits.webkit.org/288031@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