Index: Source/core/svg/SVGForeignObjectElement.cpp |
diff --git a/Source/core/svg/SVGForeignObjectElement.cpp b/Source/core/svg/SVGForeignObjectElement.cpp |
index d4594e92fd61dabb73c7f0b98dbec0ee394a55b1..ef1cae155d910b642c792cdbd81dd4e6d0691e66 100644 |
--- a/Source/core/svg/SVGForeignObjectElement.cpp |
+++ b/Source/core/svg/SVGForeignObjectElement.cpp |
@@ -24,7 +24,6 @@ |
#include "core/XLinkNames.h" |
#include "core/frame/UseCounter.h" |
#include "core/rendering/svg/RenderSVGForeignObject.h" |
-#include "core/rendering/svg/RenderSVGResource.h" |
#include "core/svg/SVGLength.h" |
#include "wtf/Assertions.h" |
@@ -107,11 +106,11 @@ void SVGForeignObjectElement::svgAttributeChanged(const QualifiedName& attrName) |
|| attrName == SVGNames::widthAttr |
|| attrName == SVGNames::heightAttr; |
- if (isLengthAttribute) |
+ if (isLengthAttribute) { |
updateRelativeLengthsInformation(); |
- |
- if (RenderObject* renderer = this->renderer()) |
- RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer); |
+ if (RenderObject* renderer = this->renderer()) |
+ markForLayoutAndParentResourceInvalidation(renderer); |
+ } |
} |
RenderObject* SVGForeignObjectElement::createRenderer(RenderStyle*) |