Index: Source/core/svg/SVGRectElement.cpp |
diff --git a/Source/core/svg/SVGRectElement.cpp b/Source/core/svg/SVGRectElement.cpp |
index b00d3df0a4cb4c04b5dfc82a1a2bf855e5e0cb35..8d01fcc84dbe21e0b58ef7723f4a74355b249056 100644 |
--- a/Source/core/svg/SVGRectElement.cpp |
+++ b/Source/core/svg/SVGRectElement.cpp |
@@ -150,12 +150,12 @@ void SVGRectElement::svgAttributeChanged(const QualifiedName& attrName) |
bool SVGRectElement::selfHasRelativeLengths() const |
{ |
- return x().isRelative() |
- || y().isRelative() |
- || width().isRelative() |
- || height().isRelative() |
- || rx().isRelative() |
- || ry().isRelative(); |
+ return xCurrentValue().isRelative() |
+ || yCurrentValue().isRelative() |
+ || widthCurrentValue().isRelative() |
+ || heightCurrentValue().isRelative() |
+ || rxCurrentValue().isRelative() |
+ || ryCurrentValue().isRelative(); |
} |
RenderObject* SVGRectElement::createRenderer(RenderStyle*) |