Index: Source/core/svg/SVGAnimateTransformElement.cpp |
diff --git a/Source/core/svg/SVGAnimateTransformElement.cpp b/Source/core/svg/SVGAnimateTransformElement.cpp |
index d8d7644694051a236067a0fff04fb48f7bfce008..492cf72973448bc2e3db4387d9456e04f0a468ad 100644 |
--- a/Source/core/svg/SVGAnimateTransformElement.cpp |
+++ b/Source/core/svg/SVGAnimateTransformElement.cpp |
@@ -50,21 +50,8 @@ bool SVGAnimateTransformElement::hasValidAttributeType() |
return animatedPropertyType() == AnimatedTransformList; |
} |
-bool SVGAnimateTransformElement::isSupportedAttribute(const QualifiedName& attrName) |
-{ |
- DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |
- if (supportedAttributes.isEmpty()) |
- supportedAttributes.add(SVGNames::typeAttr); |
- return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName); |
-} |
- |
void SVGAnimateTransformElement::parseAttribute(const QualifiedName& name, const AtomicString& value) |
{ |
- if (!isSupportedAttribute(name)) { |
- SVGAnimateElement::parseAttribute(name, value); |
- return; |
- } |
- |
if (name == SVGNames::typeAttr) { |
m_type = parseTransformType(value); |
if (m_type == SVG_TRANSFORM_MATRIX) |
@@ -72,7 +59,7 @@ void SVGAnimateTransformElement::parseAttribute(const QualifiedName& name, const |
return; |
} |
- ASSERT_NOT_REACHED(); |
+ SVGAnimateElement::parseAttribute(name, value); |
} |
} |