Index: Source/core/svg/SVGFEComponentTransferElement.cpp |
diff --git a/Source/core/svg/SVGFEComponentTransferElement.cpp b/Source/core/svg/SVGFEComponentTransferElement.cpp |
index 95427c3b9e6b0c299a302e73913ea14eaadf760a..482f08fa6975d9ecb259c5d5bacc5181b27bfcb4 100644 |
--- a/Source/core/svg/SVGFEComponentTransferElement.cpp |
+++ b/Source/core/svg/SVGFEComponentTransferElement.cpp |
@@ -56,6 +56,23 @@ bool SVGFEComponentTransferElement::isSupportedAttribute(const QualifiedName& at |
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) { |
+ invalidate(); |
+ return; |
+ } |
+ |
+ ASSERT_NOT_REACHED(); |
+} |
+ |
PassRefPtrWillBeRawPtr<FilterEffect> SVGFEComponentTransferElement::build(SVGFilterBuilder* filterBuilder, Filter* filter) |
{ |
FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->currentValue()->value())); |