| Index: Source/core/svg/SVGFETileElement.cpp
|
| diff --git a/Source/core/svg/SVGFETileElement.cpp b/Source/core/svg/SVGFETileElement.cpp
|
| index 8f70708207a6e1e85775d12f1a35d69c609867a8..ff8c0d72af16fd79a7d57ca710c1798c736e96fd 100644
|
| --- a/Source/core/svg/SVGFETileElement.cpp
|
| +++ b/Source/core/svg/SVGFETileElement.cpp
|
| @@ -30,17 +30,17 @@
|
| namespace WebCore {
|
|
|
| // Animated property definitions
|
| -DEFINE_ANIMATED_STRING(SVGFETileElement, SVGNames::inAttr, In1, in1)
|
|
|
| BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGFETileElement)
|
| - REGISTER_LOCAL_ANIMATED_PROPERTY(in1)
|
| REGISTER_PARENT_ANIMATED_PROPERTIES(SVGFilterPrimitiveStandardAttributes)
|
| END_REGISTER_ANIMATED_PROPERTIES
|
|
|
| inline SVGFETileElement::SVGFETileElement(Document& document)
|
| : SVGFilterPrimitiveStandardAttributes(SVGNames::feTileTag, document)
|
| + , m_in1(SVGAnimatedString::create(this, SVGNames::inAttr, SVGString::create()))
|
| {
|
| ScriptWrappable::init(this);
|
| + addToPropertyMap(m_in1);
|
| registerAnimatedPropertiesForSVGFETileElement();
|
| }
|
|
|
| @@ -64,12 +64,14 @@ void SVGFETileElement::parseAttribute(const QualifiedName& name, const AtomicStr
|
| return;
|
| }
|
|
|
| - if (name == SVGNames::inAttr) {
|
| - setIn1BaseValue(value);
|
| - return;
|
| - }
|
| + SVGParsingError parseError = NoError;
|
|
|
| - ASSERT_NOT_REACHED();
|
| + if (name == SVGNames::inAttr)
|
| + m_in1->setBaseValueAsString(value, parseError);
|
| + else
|
| + ASSERT_NOT_REACHED();
|
| +
|
| + reportAttributeParsingError(parseError, name, value);
|
| }
|
|
|
| void SVGFETileElement::svgAttributeChanged(const QualifiedName& attrName)
|
| @@ -91,7 +93,7 @@ void SVGFETileElement::svgAttributeChanged(const QualifiedName& attrName)
|
|
|
| PassRefPtr<FilterEffect> SVGFETileElement::build(SVGFilterBuilder* filterBuilder, Filter* filter)
|
| {
|
| - FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(in1CurrentValue()));
|
| + FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->currentValue()->value()));
|
|
|
| if (!input1)
|
| return 0;
|
|
|