diff options
| author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-18 14:03:11 +0200 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-18 14:03:11 +0200 |
| commit | 8d473cf9743f1d30a16a27114e93bd5af5648d23 (patch) | |
| tree | cdca40d0353886b3ca52f33a2d7b8f1c0011aafc /Source/WebCore/svg/SVGFEDropShadowElement.cpp | |
| parent | 1b914638db989aaa98631a1c1e02c7b2d44805d8 (diff) | |
| download | qtwebkit-8d473cf9743f1d30a16a27114e93bd5af5648d23.tar.gz | |
Imported WebKit commit 1350e72f7345ced9da2bd9980deeeb5a8d62fab4 (http://svn.webkit.org/repository/webkit/trunk@117578)
Weekly snapshot
Diffstat (limited to 'Source/WebCore/svg/SVGFEDropShadowElement.cpp')
| -rw-r--r-- | Source/WebCore/svg/SVGFEDropShadowElement.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Source/WebCore/svg/SVGFEDropShadowElement.cpp b/Source/WebCore/svg/SVGFEDropShadowElement.cpp index de2d10931..552351a63 100644 --- a/Source/WebCore/svg/SVGFEDropShadowElement.cpp +++ b/Source/WebCore/svg/SVGFEDropShadowElement.cpp @@ -95,15 +95,15 @@ bool SVGFEDropShadowElement::isSupportedAttribute(const QualifiedName& attrName) return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); } -void SVGFEDropShadowElement::parseAttribute(Attribute* attr) +void SVGFEDropShadowElement::parseAttribute(const Attribute& attribute) { - if (!isSupportedAttribute(attr->name())) { - SVGFilterPrimitiveStandardAttributes::parseAttribute(attr); + if (!isSupportedAttribute(attribute.name())) { + SVGFilterPrimitiveStandardAttributes::parseAttribute(attribute); return; } - const AtomicString& value = attr->value(); - if (attr->name() == SVGNames::stdDeviationAttr) { + const AtomicString& value = attribute.value(); + if (attribute.name() == SVGNames::stdDeviationAttr) { float x, y; if (parseNumberOptionalNumber(value, x, y)) { setStdDeviationXBaseValue(x); @@ -112,18 +112,18 @@ void SVGFEDropShadowElement::parseAttribute(Attribute* attr) return; } - if (attr->name() == SVGNames::inAttr) { + if (attribute.name() == SVGNames::inAttr) { setIn1BaseValue(value); return; } - if (attr->name() == SVGNames::dxAttr) { - setDxBaseValue(attr->value().toFloat()); + if (attribute.name() == SVGNames::dxAttr) { + setDxBaseValue(attribute.value().toFloat()); return; } - if (attr->name() == SVGNames::dyAttr) { - setDyBaseValue(attr->value().toFloat()); + if (attribute.name() == SVGNames::dyAttr) { + setDyBaseValue(attribute.value().toFloat()); return; } |
