| Index: Source/core/svg/SVGMarkerElement.cpp
|
| diff --git a/Source/core/svg/SVGMarkerElement.cpp b/Source/core/svg/SVGMarkerElement.cpp
|
| index 61274d6496535f5f0c9a18b30f1d6e63ae2ecca9..88cef9cb58ec762b61023a62c0c32d6f77550fd4 100644
|
| --- a/Source/core/svg/SVGMarkerElement.cpp
|
| +++ b/Source/core/svg/SVGMarkerElement.cpp
|
| @@ -86,27 +86,7 @@ bool SVGMarkerElement::isSupportedAttribute(const QualifiedName& attrName)
|
|
|
| void SVGMarkerElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
|
| {
|
| - SVGParsingError parseError = NoError;
|
| -
|
| - if (!isSupportedAttribute(name))
|
| - SVGElement::parseAttribute(name, value);
|
| - else if (name == SVGNames::markerUnitsAttr)
|
| - m_markerUnits->setBaseValueAsString(value, parseError);
|
| - else if (name == SVGNames::refXAttr)
|
| - m_refX->setBaseValueAsString(value, parseError);
|
| - else if (name == SVGNames::refYAttr)
|
| - m_refY->setBaseValueAsString(value, parseError);
|
| - else if (name == SVGNames::markerWidthAttr)
|
| - m_markerWidth->setBaseValueAsString(value, parseError);
|
| - else if (name == SVGNames::markerHeightAttr)
|
| - m_markerHeight->setBaseValueAsString(value, parseError);
|
| - else if (name == SVGNames::orientAttr)
|
| - m_orientAngle->setBaseValueAsString(value, parseError);
|
| - else if (SVGFitToViewBox::parseAttribute(name, value, document(), parseError)) {
|
| - } else
|
| - ASSERT_NOT_REACHED();
|
| -
|
| - reportAttributeParsingError(parseError, name, value);
|
| + parseAttributeNew(name, value);
|
| }
|
|
|
| void SVGMarkerElement::svgAttributeChanged(const QualifiedName& attrName)
|
|
|