X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fsvg%2FSVGFEDisplacementMapElement.cpp;h=b1f8f3ce34f3049a1bcbf54d79733a00a3035855;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=d8d9f4d85d01f18956e0d04cbfe4603e6248a1f2;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp b/src/third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp index d8d9f4d..b1f8f3c 100644 --- a/src/third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp +++ b/src/third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp @@ -71,27 +71,7 @@ bool SVGFEDisplacementMapElement::isSupportedAttribute(const QualifiedName& attr void SVGFEDisplacementMapElement::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 if (name == SVGNames::in2Attr) - m_in2->setBaseValueAsString(value, parseError); - else if (name == SVGNames::scaleAttr) - m_scale->setBaseValueAsString(value, parseError); - else if (name == SVGNames::xChannelSelectorAttr) - m_xChannelSelector->setBaseValueAsString(value, parseError); - else if (name == SVGNames::yChannelSelectorAttr) - m_yChannelSelector->setBaseValueAsString(value, parseError); - else - ASSERT_NOT_REACHED(); - - reportAttributeParsingError(parseError, name, value); + parseAttributeNew(name, value); } bool SVGFEDisplacementMapElement::setFilterEffectAttribute(FilterEffect* effect, const QualifiedName& attrName)