Index: third_party/WebKit/Source/core/svg/SVGURIReference.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGURIReference.cpp b/third_party/WebKit/Source/core/svg/SVGURIReference.cpp |
index 941d9f418491669af8856ede28ccf66fbc08783c..6ca761a7da67124fcd1627e3e1059d4feae10882 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGURIReference.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGURIReference.cpp |
@@ -20,17 +20,16 @@ |
#include "core/svg/SVGURIReference.h" |
-#include "core/XLinkNames.h" |
#include "core/svg/SVGElement.h" |
#include "platform/weborigin/KURL.h" |
namespace blink { |
SVGURIReference::SVGURIReference(SVGElement* element) |
- : m_href(SVGAnimatedString::create(element, XLinkNames::hrefAttr, SVGString::create())) |
+ : m_href(SVGAnimatedHref::create(element)) |
{ |
ASSERT(element); |
- element->addToPropertyMap(m_href); |
+ m_href->addToPropertyMap(element); |
} |
DEFINE_TRACE(SVGURIReference) |
@@ -40,7 +39,7 @@ DEFINE_TRACE(SVGURIReference) |
bool SVGURIReference::isKnownAttribute(const QualifiedName& attrName) |
{ |
- return attrName.matches(XLinkNames::hrefAttr); |
+ return SVGAnimatedHref::isKnownAttribute(attrName); |
} |
AtomicString SVGURIReference::fragmentIdentifierFromIRIString(const String& url, const TreeScope& treeScope) |