| Index: third_party/WebKit/Source/core/dom/VisitedLinkState.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/VisitedLinkState.cpp b/third_party/WebKit/Source/core/dom/VisitedLinkState.cpp
|
| index 6adbb08deeed12da90073a142646ba40adaaef21..ed10d3aacb92ba0c626222468af7645ee7a2f5bf 100644
|
| --- a/third_party/WebKit/Source/core/dom/VisitedLinkState.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/VisitedLinkState.cpp
|
| @@ -29,9 +29,9 @@
|
| #include "core/dom/VisitedLinkState.h"
|
|
|
| #include "core/HTMLNames.h"
|
| -#include "core/XLinkNames.h"
|
| #include "core/dom/ElementTraversal.h"
|
| #include "core/html/HTMLAnchorElement.h"
|
| +#include "core/svg/SVGURIReference.h"
|
| #include "public/platform/Platform.h"
|
|
|
| namespace blink {
|
| @@ -42,7 +42,7 @@ static inline const AtomicString& linkAttribute(const Element& element)
|
| if (element.isHTMLElement())
|
| return element.fastGetAttribute(HTMLNames::hrefAttr);
|
| ASSERT(element.isSVGElement());
|
| - return element.getAttribute(XLinkNames::hrefAttr);
|
| + return SVGURIReference::legacyHrefString(toSVGElement(element));
|
| }
|
|
|
| static inline LinkHash linkHashForElement(const Element& element, const AtomicString& attribute = AtomicString())
|
|
|