Index: Source/core/svg/SVGForeignObjectElement.cpp |
diff --git a/Source/core/svg/SVGForeignObjectElement.cpp b/Source/core/svg/SVGForeignObjectElement.cpp |
index a51d0efcda0fe71ec11c8a86fed07d618a76069e..ffeec99a2e45a7c654d4102537c45142c3f593b0 100644 |
--- a/Source/core/svg/SVGForeignObjectElement.cpp |
+++ b/Source/core/svg/SVGForeignObjectElement.cpp |
@@ -158,10 +158,10 @@ bool SVGForeignObjectElement::rendererIsNeeded(const NodeRenderingContext& conte |
bool SVGForeignObjectElement::selfHasRelativeLengths() const |
{ |
- return x().isRelative() |
- || y().isRelative() |
- || width().isRelative() |
- || height().isRelative(); |
+ return xCurrentValue().isRelative() |
+ || yCurrentValue().isRelative() |
+ || widthCurrentValue().isRelative() |
+ || heightCurrentValue().isRelative(); |
} |
} |