Index: Source/core/svg/SVGMPathElement.cpp |
diff --git a/Source/core/svg/SVGMPathElement.cpp b/Source/core/svg/SVGMPathElement.cpp |
index a59752762a1ff24ca3da4d055b51e461129fc236..93a21c87b638f2bbd36d7c2741491aa65dc7919d 100644 |
--- a/Source/core/svg/SVGMPathElement.cpp |
+++ b/Source/core/svg/SVGMPathElement.cpp |
@@ -64,7 +64,7 @@ void SVGMPathElement::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)) |
@@ -152,7 +152,7 @@ void SVGMPathElement::svgAttributeChanged(const QualifiedName& attrName) |
SVGPathElement* SVGMPathElement::pathElement() |
{ |
- Element* target = targetElementFromIRIString(href(), document()); |
+ Element* target = targetElementFromIRIString(hrefCurrentValue(), document()); |
if (target && target->hasTagName(SVGNames::pathTag)) |
return static_cast<SVGPathElement*>(target); |
return 0; |