| Index: third_party/WebKit/Source/core/animation/AnimationInputHelpers.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/AnimationInputHelpers.cpp b/third_party/WebKit/Source/core/animation/AnimationInputHelpers.cpp
|
| index 2105bbad00a0e2ea7f415496373b353144bfd01c..272eb6a302dd2760d3c5f1edf332f061991dc4fd 100644
|
| --- a/third_party/WebKit/Source/core/animation/AnimationInputHelpers.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/AnimationInputHelpers.cpp
|
| @@ -5,6 +5,7 @@
|
| #include "core/animation/AnimationInputHelpers.h"
|
|
|
| #include "core/SVGNames.h"
|
| +#include "core/XLinkNames.h"
|
| #include "core/css/CSSValueList.h"
|
| #include "core/css/parser/CSSParser.h"
|
| #include "core/css/resolver/CSSToStyleMap.h"
|
| @@ -87,7 +88,6 @@
|
| &SVGNames::gradientTransformAttr,
|
| &SVGNames::gradientUnitsAttr,
|
| &SVGNames::heightAttr,
|
| - &SVGNames::hrefAttr,
|
| &SVGNames::in2Attr,
|
| &SVGNames::inAttr,
|
| &SVGNames::interceptAttr,
|
| @@ -161,6 +161,7 @@
|
| &SVGNames::yAttr,
|
| &SVGNames::yChannelSelectorAttr,
|
| &SVGNames::zAttr,
|
| + &XLinkNames::hrefAttr,
|
| };
|
| for (size_t i = 0; i < WTF_ARRAY_LENGTH(attributes); i++)
|
| supportedAttributes.set(*attributes[i], attributes[i]);
|
| @@ -171,6 +172,10 @@
|
| QualifiedName svgAttributeName(const String& property)
|
| {
|
| ASSERT(!isSVGPrefixed(property));
|
| +
|
| + if (property == "href")
|
| + return XLinkNames::hrefAttr;
|
| +
|
| return QualifiedName(nullAtom, AtomicString(property), nullAtom);
|
| }
|
|
|
|
|