Index: Source/core/svg/SVGTextPathElement.cpp |
diff --git a/Source/core/svg/SVGTextPathElement.cpp b/Source/core/svg/SVGTextPathElement.cpp |
index 6ca2a98f97d871822a903ba0a3ee0ef2cf69b904..e0f85cb30ecfa022463c5566f7631cd27fc52c38 100644 |
--- a/Source/core/svg/SVGTextPathElement.cpp |
+++ b/Source/core/svg/SVGTextPathElement.cpp |
@@ -161,7 +161,7 @@ void SVGTextPathElement::buildPendingResource() |
return; |
String id; |
- Element* target = SVGURIReference::targetElementFromIRIString(href(), document(), &id); |
+ Element* target = SVGURIReference::targetElementFromIRIString(hrefCurrentValue(), document(), &id); |
if (!target) { |
// Do not register as pending if we are already pending this resource. |
if (document()->accessSVGExtensions()->isElementPendingResource(this, id)) |
@@ -194,7 +194,7 @@ void SVGTextPathElement::removedFrom(ContainerNode* rootParent) |
bool SVGTextPathElement::selfHasRelativeLengths() const |
{ |
- return startOffset().isRelative() |
+ return startOffsetCurrentValue().isRelative() |
|| SVGTextContentElement::selfHasRelativeLengths(); |
} |