Index: Source/core/svg/SVGForeignObjectElement.cpp |
diff --git a/Source/core/svg/SVGForeignObjectElement.cpp b/Source/core/svg/SVGForeignObjectElement.cpp |
index 761ede015d8c441342cb64989c20c8bd393b3471..94cafaaa0d458fad6e0230529b9b4382b896bc2b 100644 |
--- a/Source/core/svg/SVGForeignObjectElement.cpp |
+++ b/Source/core/svg/SVGForeignObjectElement.cpp |
@@ -99,7 +99,7 @@ void SVGForeignObjectElement::svgAttributeChanged(const QualifiedName& attrName) |
if (attrName == SVGNames::widthAttr || attrName == SVGNames::heightAttr) { |
invalidateSVGPresentationAttributeStyle(); |
- setNeedsStyleRecalc(LocalStyleChange); |
+ setNeedsStyleRecalc(StyleRecalcDueToSVGContainerSizeChange, LocalStyleChange); |
} |
SVGElement::InvalidationGuard invalidationGuard(this); |