Index: Source/core/rendering/svg/RenderSVGTextPath.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGTextPath.cpp b/Source/core/rendering/svg/RenderSVGTextPath.cpp |
index 65bab6f437bb29bfef2f7c5a49a9c3e020347239..96a9ad295e3ccfa96f2c68e0e062708939688049 100644 |
--- a/Source/core/rendering/svg/RenderSVGTextPath.cpp |
+++ b/Source/core/rendering/svg/RenderSVGTextPath.cpp |
@@ -36,7 +36,7 @@ RenderSVGTextPath::RenderSVGTextPath(Element* element) |
Path RenderSVGTextPath::layoutPath() const |
{ |
SVGTextPathElement* textPathElement = static_cast<SVGTextPathElement*>(node()); |
- Element* targetElement = SVGURIReference::targetElementFromIRIString(textPathElement->href(), textPathElement->document()); |
+ Element* targetElement = SVGURIReference::targetElementFromIRIString(textPathElement->hrefCurrentValue(), textPathElement->document()); |
if (!targetElement || !targetElement->hasTagName(SVGNames::pathTag)) |
return Path(); |
@@ -56,17 +56,17 @@ Path RenderSVGTextPath::layoutPath() const |
float RenderSVGTextPath::startOffset() const |
{ |
- return static_cast<SVGTextPathElement*>(node())->startOffset().valueAsPercentage(); |
+ return static_cast<SVGTextPathElement*>(node())->startOffsetCurrentValue().valueAsPercentage(); |
} |
bool RenderSVGTextPath::exactAlignment() const |
{ |
- return static_cast<SVGTextPathElement*>(node())->spacing() == SVGTextPathSpacingExact; |
+ return static_cast<SVGTextPathElement*>(node())->spacingCurrentValue() == SVGTextPathSpacingExact; |
} |
bool RenderSVGTextPath::stretchMethod() const |
{ |
- return static_cast<SVGTextPathElement*>(node())->method() == SVGTextPathMethodStretch; |
+ return static_cast<SVGTextPathElement*>(node())->methodCurrentValue() == SVGTextPathMethodStretch; |
} |
} |