| Index: Source/core/svg/SVGFEGaussianBlurElement.cpp
|
| diff --git a/Source/core/svg/SVGFEGaussianBlurElement.cpp b/Source/core/svg/SVGFEGaussianBlurElement.cpp
|
| index 11a9283a36b04f381401c62a74fd47d24e54a045..285077a2f542e0c02ac3e008db0586e8d1e1b782 100644
|
| --- a/Source/core/svg/SVGFEGaussianBlurElement.cpp
|
| +++ b/Source/core/svg/SVGFEGaussianBlurElement.cpp
|
| @@ -54,31 +54,15 @@ void SVGFEGaussianBlurElement::setStdDeviation(float x, float y)
|
| invalidate();
|
| }
|
|
|
| -bool SVGFEGaussianBlurElement::isSupportedAttribute(const QualifiedName& attrName)
|
| -{
|
| - DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ());
|
| - if (supportedAttributes.isEmpty()) {
|
| - supportedAttributes.add(SVGNames::inAttr);
|
| - supportedAttributes.add(SVGNames::stdDeviationAttr);
|
| - }
|
| - return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName);
|
| -}
|
| -
|
| void SVGFEGaussianBlurElement::svgAttributeChanged(const QualifiedName& attrName)
|
| {
|
| - if (!isSupportedAttribute(attrName)) {
|
| - SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName);
|
| - return;
|
| - }
|
| -
|
| - SVGElement::InvalidationGuard invalidationGuard(this);
|
| -
|
| if (attrName == SVGNames::inAttr || attrName == SVGNames::stdDeviationAttr) {
|
| + SVGElement::InvalidationGuard invalidationGuard(this);
|
| invalidate();
|
| return;
|
| }
|
|
|
| - ASSERT_NOT_REACHED();
|
| + SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName);
|
| }
|
|
|
| PassRefPtrWillBeRawPtr<FilterEffect> SVGFEGaussianBlurElement::build(SVGFilterBuilder* filterBuilder, Filter* filter)
|
|
|