diff options
Diffstat (limited to 'WebCore/svg/SVGLineElement.cpp')
-rw-r--r-- | WebCore/svg/SVGLineElement.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/WebCore/svg/SVGLineElement.cpp b/WebCore/svg/SVGLineElement.cpp index c6e5e04..0898319 100644 --- a/WebCore/svg/SVGLineElement.cpp +++ b/WebCore/svg/SVGLineElement.cpp @@ -26,6 +26,7 @@ #include "Attribute.h" #include "FloatPoint.h" #include "RenderPath.h" +#include "RenderSVGResource.h" #include "SVGLength.h" #include "SVGNames.h" @@ -86,20 +87,20 @@ void SVGLineElement::svgAttributeChanged(const QualifiedName& attrName) if (SVGStyledTransformableElement::isKnownAttribute(attrName)) { renderer->setNeedsTransformUpdate(); - renderer->setNeedsLayout(true); + RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer); return; } if (isLengthAttribute) { renderer->setNeedsPathUpdate(); - renderer->setNeedsLayout(true); + RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer); return; } if (SVGTests::isKnownAttribute(attrName) || SVGLangSpace::isKnownAttribute(attrName) || SVGExternalResourcesRequired::isKnownAttribute(attrName)) - renderer->setNeedsLayout(true); + RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer); } void SVGLineElement::synchronizeProperty(const QualifiedName& attrName) |