| Index: Source/core/svg/SVGFETileElement.cpp
|
| diff --git a/Source/core/svg/SVGFETileElement.cpp b/Source/core/svg/SVGFETileElement.cpp
|
| index 42454a5e594ca2b9498d822d5deca64768a560a0..260d01f00976f7682434facec88f2940fef20eab 100644
|
| --- a/Source/core/svg/SVGFETileElement.cpp
|
| +++ b/Source/core/svg/SVGFETileElement.cpp
|
| @@ -37,46 +37,20 @@ inline SVGFETileElement::SVGFETileElement(Document& document)
|
|
|
| DEFINE_NODE_FACTORY(SVGFETileElement)
|
|
|
| -bool SVGFETileElement::isSupportedAttribute(const QualifiedName& attrName)
|
| -{
|
| - DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ());
|
| - if (supportedAttributes.isEmpty())
|
| - supportedAttributes.add(SVGNames::inAttr);
|
| - return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName);
|
| -}
|
| -
|
| void SVGFETileElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
|
| {
|
| - if (!isSupportedAttribute(name)) {
|
| - SVGFilterPrimitiveStandardAttributes::parseAttribute(name, value);
|
| - return;
|
| - }
|
| -
|
| - SVGParsingError parseError = NoError;
|
| -
|
| - if (name == SVGNames::inAttr)
|
| - m_in1->setBaseValueAsString(value, parseError);
|
| - else
|
| - ASSERT_NOT_REACHED();
|
| -
|
| - reportAttributeParsingError(parseError, name, value);
|
| + parseAttributeNew(name, value);
|
| }
|
|
|
| void SVGFETileElement::svgAttributeChanged(const QualifiedName& attrName)
|
| {
|
| - if (!isSupportedAttribute(attrName)) {
|
| - SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName);
|
| - return;
|
| - }
|
| -
|
| - SVGElement::InvalidationGuard invalidationGuard(this);
|
| -
|
| if (attrName == SVGNames::inAttr) {
|
| + SVGElement::InvalidationGuard invalidationGuard(this);
|
| invalidate();
|
| return;
|
| }
|
|
|
| - ASSERT_NOT_REACHED();
|
| + SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName);
|
| }
|
|
|
| PassRefPtr<FilterEffect> SVGFETileElement::build(SVGFilterBuilder* filterBuilder, Filter* filter)
|
|
|