| Index: Source/core/svg/SVGLineElement.cpp
|
| diff --git a/Source/core/svg/SVGLineElement.cpp b/Source/core/svg/SVGLineElement.cpp
|
| index c54277bc6e33e64eb475852bfcbf199eaa477079..c2ed46a95427c14ae8461df9a47aa35889085146 100644
|
| --- a/Source/core/svg/SVGLineElement.cpp
|
| +++ b/Source/core/svg/SVGLineElement.cpp
|
| @@ -42,12 +42,11 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGLineElement)
|
| REGISTER_LOCAL_ANIMATED_PROPERTY(x2)
|
| REGISTER_LOCAL_ANIMATED_PROPERTY(y2)
|
| REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired)
|
| - REGISTER_PARENT_ANIMATED_PROPERTIES(SVGStyledTransformableElement)
|
| - REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTests)
|
| + REGISTER_PARENT_ANIMATED_PROPERTIES(SVGGraphicsElement)
|
| END_REGISTER_ANIMATED_PROPERTIES
|
|
|
| inline SVGLineElement::SVGLineElement(const QualifiedName& tagName, Document* document)
|
| - : SVGStyledTransformableElement(tagName, document)
|
| + : SVGGraphicsElement(tagName, document)
|
| , m_x1(LengthModeWidth)
|
| , m_y1(LengthModeHeight)
|
| , m_x2(LengthModeWidth)
|
| @@ -83,7 +82,7 @@ void SVGLineElement::parseAttribute(const QualifiedName& name, const AtomicStrin
|
| SVGParsingError parseError = NoError;
|
|
|
| if (!isSupportedAttribute(name))
|
| - SVGStyledTransformableElement::parseAttribute(name, value);
|
| + SVGGraphicsElement::parseAttribute(name, value);
|
| else if (name == SVGNames::x1Attr)
|
| setX1BaseValue(SVGLength::construct(LengthModeWidth, value, parseError));
|
| else if (name == SVGNames::y1Attr)
|
| @@ -104,7 +103,7 @@ void SVGLineElement::parseAttribute(const QualifiedName& name, const AtomicStrin
|
| void SVGLineElement::svgAttributeChanged(const QualifiedName& attrName)
|
| {
|
| if (!isSupportedAttribute(attrName)) {
|
| - SVGStyledTransformableElement::svgAttributeChanged(attrName);
|
| + SVGGraphicsElement::svgAttributeChanged(attrName);
|
| return;
|
| }
|
|
|
|
|