Index: Source/core/svg/SVGTRefElement.cpp |
diff --git a/Source/core/svg/SVGTRefElement.cpp b/Source/core/svg/SVGTRefElement.cpp |
index 553ba68bbe51b05bb44ccd619af898c13efc177b..5d2e051d91e82ac52cd57746151b0ae61bf0f546 100644 |
--- a/Source/core/svg/SVGTRefElement.cpp |
+++ b/Source/core/svg/SVGTRefElement.cpp |
@@ -180,7 +180,7 @@ void SVGTRefElement::detachTarget() |
// Mark the referenced ID as pending. |
String id; |
- SVGURIReference::targetElementFromIRIString(href(), document(), &id); |
+ SVGURIReference::targetElementFromIRIString(hrefCurrentValue(), document(), &id); |
if (!id.isEmpty()) |
document()->accessSVGExtensions()->addPendingResource(id, this); |
} |
@@ -260,7 +260,7 @@ void SVGTRefElement::buildPendingResource() |
return; |
String id; |
- RefPtr<Element> target = SVGURIReference::targetElementFromIRIString(href(), document(), &id); |
+ RefPtr<Element> target = SVGURIReference::targetElementFromIRIString(hrefCurrentValue(), document(), &id); |
if (!target.get()) { |
if (id.isEmpty()) |
return; |