Index: Source/core/svg/SVGFEImageElement.cpp |
diff --git a/Source/core/svg/SVGFEImageElement.cpp b/Source/core/svg/SVGFEImageElement.cpp |
index 8c05eef7a993d39bcf05d80aad674c0d78f8370c..7936cfe1d9988c8cf97ce5c831a9757f77c3e70f 100644 |
--- a/Source/core/svg/SVGFEImageElement.cpp |
+++ b/Source/core/svg/SVGFEImageElement.cpp |
@@ -113,36 +113,21 @@ void SVGFEImageElement::buildPendingResource() |
invalidate(); |
} |
-bool SVGFEImageElement::isSupportedAttribute(const QualifiedName& attrName) |
-{ |
- DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |
- if (supportedAttributes.isEmpty()) { |
- SVGURIReference::addSupportedAttributes(supportedAttributes); |
- supportedAttributes.add(SVGNames::preserveAspectRatioAttr); |
- } |
- return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName); |
-} |
- |
void SVGFEImageElement::svgAttributeChanged(const QualifiedName& attrName) |
{ |
- if (!isSupportedAttribute(attrName)) { |
- SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName); |
- return; |
- } |
- |
- SVGElement::InvalidationGuard invalidationGuard(this); |
- |
if (attrName == SVGNames::preserveAspectRatioAttr) { |
+ SVGElement::InvalidationGuard invalidationGuard(this); |
invalidate(); |
return; |
} |
if (SVGURIReference::isKnownAttribute(attrName)) { |
+ SVGElement::InvalidationGuard invalidationGuard(this); |
buildPendingResource(); |
return; |
} |
- ASSERT_NOT_REACHED(); |
+ SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName); |
} |
Node::InsertionNotificationRequest SVGFEImageElement::insertedInto(ContainerNode* rootParent) |