Index: Source/core/svg/SVGFEComponentTransferElement.cpp |
diff --git a/Source/core/svg/SVGFEComponentTransferElement.cpp b/Source/core/svg/SVGFEComponentTransferElement.cpp |
index 482f08fa6975d9ecb259c5d5bacc5181b27bfcb4..210dd21af3530d9581885685965aa927e028fea7 100644 |
--- a/Source/core/svg/SVGFEComponentTransferElement.cpp |
+++ b/Source/core/svg/SVGFEComponentTransferElement.cpp |
@@ -48,29 +48,15 @@ DEFINE_TRACE(SVGFEComponentTransferElement) |
DEFINE_NODE_FACTORY(SVGFEComponentTransferElement) |
-bool SVGFEComponentTransferElement::isSupportedAttribute(const QualifiedName& attrName) |
-{ |
- DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |
- if (supportedAttributes.isEmpty()) |
- supportedAttributes.add(SVGNames::inAttr); |
- return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName); |
-} |
- |
void SVGFEComponentTransferElement::svgAttributeChanged(const QualifiedName& attrName) |
{ |
- if (!isSupportedAttribute(attrName)) { |
- SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName); |
- return; |
- } |
- |
- SVGElement::InvalidationGuard invalidationGuard(this); |
- |
if (attrName == SVGNames::inAttr) { |
+ SVGElement::InvalidationGuard invalidationGuard(this); |
invalidate(); |
return; |
} |
- ASSERT_NOT_REACHED(); |
+ SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName); |
} |
PassRefPtrWillBeRawPtr<FilterEffect> SVGFEComponentTransferElement::build(SVGFilterBuilder* filterBuilder, Filter* filter) |