Index: third_party/WebKit/Source/core/svg/SVGScriptElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGScriptElement.cpp b/third_party/WebKit/Source/core/svg/SVGScriptElement.cpp |
index a6a3a319650152a6693ff50ea8e43ea2ca875998..7b1c345331fa88af45e7310b8a8c9736754ed4d7 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGScriptElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGScriptElement.cpp |
@@ -22,6 +22,7 @@ |
#include "bindings/core/v8/ScriptEventListener.h" |
#include "core/HTMLNames.h" |
+#include "core/XLinkNames.h" |
#include "core/dom/Attribute.h" |
#include "core/dom/ScriptLoader.h" |
#include "core/dom/ScriptRunner.h" |
@@ -145,9 +146,9 @@ void SVGScriptElement::dispatchLoadEvent() { |
#if DCHECK_IS_ON() |
bool SVGScriptElement::isAnimatableAttribute(const QualifiedName& name) const { |
- if (name == SVGNames::typeAttr) |
+ if (name == SVGNames::typeAttr || name == SVGNames::hrefAttr || |
+ name == XLinkNames::hrefAttr) |
return false; |
- |
return SVGElement::isAnimatableAttribute(name); |
} |
#endif |