| Index: Source/core/svg/SVGComponentTransferFunctionElement.cpp
|
| diff --git a/Source/core/svg/SVGComponentTransferFunctionElement.cpp b/Source/core/svg/SVGComponentTransferFunctionElement.cpp
|
| index 12df80176a413ab406f460501edf684fd553c140..973f852ada160d7ba89167a3341b4e476cd17a63 100644
|
| --- a/Source/core/svg/SVGComponentTransferFunctionElement.cpp
|
| +++ b/Source/core/svg/SVGComponentTransferFunctionElement.cpp
|
| @@ -73,27 +73,9 @@ DEFINE_TRACE(SVGComponentTransferFunctionElement)
|
| SVGElement::trace(visitor);
|
| }
|
|
|
| -bool SVGComponentTransferFunctionElement::isSupportedAttribute(const QualifiedName& attrName)
|
| -{
|
| - DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ());
|
| - if (supportedAttributes.isEmpty()) {
|
| - supportedAttributes.add(SVGNames::typeAttr);
|
| - supportedAttributes.add(SVGNames::tableValuesAttr);
|
| - supportedAttributes.add(SVGNames::slopeAttr);
|
| - supportedAttributes.add(SVGNames::interceptAttr);
|
| - supportedAttributes.add(SVGNames::amplitudeAttr);
|
| - supportedAttributes.add(SVGNames::exponentAttr);
|
| - supportedAttributes.add(SVGNames::offsetAttr);
|
| - }
|
| - return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName);
|
| -}
|
| -
|
| void SVGComponentTransferFunctionElement::svgAttributeChanged(const QualifiedName& attrName)
|
| {
|
| - if (!isSupportedAttribute(attrName)) {
|
| - SVGElement::svgAttributeChanged(attrName);
|
| - return;
|
| - }
|
| + SVGElement::svgAttributeChanged(attrName);
|
|
|
| SVGElement::InvalidationGuard invalidationGuard(this);
|
|
|
|
|