Index: Source/core/svg/SVGFEComponentTransferElement.cpp |
diff --git a/Source/core/svg/SVGFEComponentTransferElement.cpp b/Source/core/svg/SVGFEComponentTransferElement.cpp |
index 95427c3b9e6b0c299a302e73913ea14eaadf760a..d6ba7c19cf1861210a6fcef363f9570cfb4f3f1c 100644 |
--- a/Source/core/svg/SVGFEComponentTransferElement.cpp |
+++ b/Source/core/svg/SVGFEComponentTransferElement.cpp |
@@ -48,6 +48,19 @@ DEFINE_TRACE(SVGFEComponentTransferElement) |
DEFINE_NODE_FACTORY(SVGFEComponentTransferElement) |
+void SVGFEComponentTransferElement::svgAttributeChanged(const QualifiedName& attrName) |
fs
2015/03/31 08:25:50
Please put this method after isSupportedAttribute.
|
+{ |
+ if (!isSupportedAttribute(attrName)) { |
+ SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName); |
+ return; |
+ } |
+ |
fs
2015/03/31 08:25:50
Add
SVGElement::InvalidationGuard invalidationGua
|
+ if (attrName == SVGNames::inAttr) { |
+ invalidate(); |
+ return; |
+ } |
+} |
fs
2015/03/31 08:25:50
ASSERT_NOT_REACHED()
|
+ |
bool SVGFEComponentTransferElement::isSupportedAttribute(const QualifiedName& attrName) |
{ |
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |