Index: Source/core/svg/SVGScriptElement.cpp |
diff --git a/Source/core/svg/SVGScriptElement.cpp b/Source/core/svg/SVGScriptElement.cpp |
index d3f782b296425ec002ba046e4a06eac068f846dc..244122877006d074af7dc683d4baea4ab80e35c7 100644 |
--- a/Source/core/svg/SVGScriptElement.cpp |
+++ b/Source/core/svg/SVGScriptElement.cpp |
@@ -108,7 +108,7 @@ void SVGScriptElement::svgAttributeChanged(const QualifiedName& attrName) |
return; |
if (SVGURIReference::isKnownAttribute(attrName)) { |
- m_loader->handleSourceAttribute(href()); |
+ m_loader->handleSourceAttribute(hrefCurrentValue()); |
return; |
} |
@@ -158,12 +158,12 @@ void SVGScriptElement::addSubresourceAttributeURLs(ListHashSet<KURL>& urls) cons |
{ |
SVGElement::addSubresourceAttributeURLs(urls); |
- addSubresourceURL(urls, document()->completeURL(href())); |
+ addSubresourceURL(urls, document()->completeURL(hrefCurrentValue())); |
} |
String SVGScriptElement::sourceAttributeValue() const |
{ |
- return href(); |
+ return hrefCurrentValue(); |
} |
String SVGScriptElement::charsetAttributeValue() const |