Index: Source/core/rendering/svg/SVGResources.cpp |
diff --git a/Source/core/rendering/svg/SVGResources.cpp b/Source/core/rendering/svg/SVGResources.cpp |
index 32769d3df62e61de3bc49fb4118a9c11eef8d931..d20e9d0088c7ee97916cffca26e1e852c4f7738f 100644 |
--- a/Source/core/rendering/svg/SVGResources.cpp |
+++ b/Source/core/rendering/svg/SVGResources.cpp |
@@ -143,11 +143,11 @@ static inline String targetReferenceFromResource(SVGElement* element) |
{ |
String target; |
if (element->hasTagName(SVGNames::patternTag)) |
- target = static_cast<SVGPatternElement*>(element)->href(); |
+ target = static_cast<SVGPatternElement*>(element)->hrefCurrentValue(); |
else if (element->hasTagName(SVGNames::linearGradientTag) || element->hasTagName(SVGNames::radialGradientTag)) |
- target = static_cast<SVGGradientElement*>(element)->href(); |
+ target = static_cast<SVGGradientElement*>(element)->hrefCurrentValue(); |
else if (element->hasTagName(SVGNames::filterTag)) |
- target = static_cast<SVGFilterElement*>(element)->href(); |
+ target = static_cast<SVGFilterElement*>(element)->hrefCurrentValue(); |
else |
ASSERT_NOT_REACHED(); |