Index: Source/core/layout/svg/SVGLayoutSupport.cpp |
diff --git a/Source/core/layout/svg/SVGLayoutSupport.cpp b/Source/core/layout/svg/SVGLayoutSupport.cpp |
index 53171e2894cdc0e9d6e5ed58ae1f191a56058c18..965a2dfbd067a340a9993cb8eeb3ce54a1b30dd4 100644 |
--- a/Source/core/layout/svg/SVGLayoutSupport.cpp |
+++ b/Source/core/layout/svg/SVGLayoutSupport.cpp |
@@ -267,7 +267,7 @@ void SVGLayoutSupport::layoutChildren(LayoutObject* start, bool selfNeedsLayout) |
// their invalidation directly from SVGSVGElement::svgAttributeChange() or at a higher |
// SubtreeLayoutScope (in LayoutView::layout()). |
if (forceLayout && !child->isSVGResourceContainer()) |
- layoutScope.setNeedsLayout(child); |
+ layoutScope.setNeedsLayout(child, LayoutInvalidationReason::SvgChanged); |
// Lay out any referenced resources before the child. |
layoutResourcesIfNeeded(child); |