Index: Source/core/svg/SVGForeignObjectElement.cpp |
diff --git a/Source/core/svg/SVGForeignObjectElement.cpp b/Source/core/svg/SVGForeignObjectElement.cpp |
index 71195324621f2e170635defa42350c00f66db849..d4594e92fd61dabb73c7f0b98dbec0ee394a55b1 100644 |
--- a/Source/core/svg/SVGForeignObjectElement.cpp |
+++ b/Source/core/svg/SVGForeignObjectElement.cpp |
@@ -97,7 +97,7 @@ void SVGForeignObjectElement::svgAttributeChanged(const QualifiedName& attrName) |
if (attrName == SVGNames::widthAttr || attrName == SVGNames::heightAttr) { |
invalidateSVGPresentationAttributeStyle(); |
- setNeedsStyleRecalc(LocalStyleChange); |
+ setNeedsStyleRecalc(LocalStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::SVGContainerSizeChange)); |
} |
SVGElement::InvalidationGuard invalidationGuard(this); |