Skip to content

Commit

Permalink
Unreviewed, remove stale assertion
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=263401
rdar://117223553

Since this function is called from NonScalingStroke path, this assertion is stale. Removed.

* Source/WebCore/rendering/svg/SVGRenderSupport.cpp:
(WebCore::SVGRenderSupport::calculateApproximateStrokeBoundingBox):

Canonical link: https://commits.webkit.org/269545@main
  • Loading branch information
Constellation committed Oct 19, 2023
1 parent 723eb83 commit cd9fc42
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Source/WebCore/rendering/svg/SVGRenderSupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,6 @@ FloatRect SVGRenderSupport::calculateApproximateStrokeBoundingBox(const RenderEl
using Renderer = std::decay_t<decltype(renderer)>;

ASSERT(renderer.style().svgStyle().hasStroke());
ASSERT(!renderer.hasNonScalingStroke());

auto strokeBoundingBox = fillBoundingBox;
const float strokeWidth = renderer.strokeWidth();
Expand Down

0 comments on commit cd9fc42

Please sign in to comment.