| Index: Source/core/svg/SVGAnimateMotionElement.cpp
|
| diff --git a/Source/core/svg/SVGAnimateMotionElement.cpp b/Source/core/svg/SVGAnimateMotionElement.cpp
|
| index c85dfe598aa2f8ef77df70c343cd91c22b938d05..6f8032d8b3168c4263209fe8c51e8bd8b6a74484 100644
|
| --- a/Source/core/svg/SVGAnimateMotionElement.cpp
|
| +++ b/Source/core/svg/SVGAnimateMotionElement.cpp
|
| @@ -91,21 +91,8 @@ bool SVGAnimateMotionElement::hasValidAttributeName()
|
| return true;
|
| }
|
|
|
| -bool SVGAnimateMotionElement::isSupportedAttribute(const QualifiedName& attrName)
|
| -{
|
| - DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ());
|
| - if (supportedAttributes.isEmpty())
|
| - supportedAttributes.add(SVGNames::pathAttr);
|
| - return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName);
|
| -}
|
| -
|
| void SVGAnimateMotionElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
|
| {
|
| - if (!isSupportedAttribute(name)) {
|
| - SVGAnimationElement::parseAttribute(name, value);
|
| - return;
|
| - }
|
| -
|
| if (name == SVGNames::pathAttr) {
|
| m_path = Path();
|
| buildPathFromString(value, m_path);
|
| @@ -113,7 +100,7 @@ void SVGAnimateMotionElement::parseAttribute(const QualifiedName& name, const At
|
| return;
|
| }
|
|
|
| - ASSERT_NOT_REACHED();
|
| + SVGAnimationElement::parseAttribute(name, value);
|
| }
|
|
|
| SVGAnimateMotionElement::RotateMode SVGAnimateMotionElement::rotateMode() const
|
|
|