| Index: Source/core/svg/SVGFEDiffuseLightingElement.cpp
|
| diff --git a/Source/core/svg/SVGFEDiffuseLightingElement.cpp b/Source/core/svg/SVGFEDiffuseLightingElement.cpp
|
| index a5199ac397d2785ebdf37d89ef9e528d33452873..0bdb70575442d3d85cc3fceb37e8c44c2d1617b7 100644
|
| --- a/Source/core/svg/SVGFEDiffuseLightingElement.cpp
|
| +++ b/Source/core/svg/SVGFEDiffuseLightingElement.cpp
|
| @@ -59,25 +59,7 @@ bool SVGFEDiffuseLightingElement::isSupportedAttribute(const QualifiedName& attr
|
|
|
| void SVGFEDiffuseLightingElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
|
| {
|
| - if (!isSupportedAttribute(name) || name == SVGNames::lighting_colorAttr) {
|
| - SVGFilterPrimitiveStandardAttributes::parseAttribute(name, value);
|
| - return;
|
| - }
|
| -
|
| - SVGParsingError parseError = NoError;
|
| -
|
| - if (name == SVGNames::inAttr)
|
| - m_in1->setBaseValueAsString(value, parseError);
|
| - else if (name == SVGNames::diffuseConstantAttr)
|
| - m_diffuseConstant->setBaseValueAsString(value, parseError);
|
| - else if (name == SVGNames::surfaceScaleAttr)
|
| - m_surfaceScale->setBaseValueAsString(value, parseError);
|
| - else if (name == SVGNames::kernelUnitLengthAttr)
|
| - m_kernelUnitLength->setBaseValueAsString(value, parseError);
|
| - else
|
| - ASSERT_NOT_REACHED();
|
| -
|
| - reportAttributeParsingError(parseError, name, value);
|
| + parseAttributeNew(name, value);
|
| }
|
|
|
| bool SVGFEDiffuseLightingElement::setFilterEffectAttribute(FilterEffect* effect, const QualifiedName& attrName)
|
|
|