Index: Source/core/svg/SVGLineElement.cpp |
diff --git a/Source/core/svg/SVGLineElement.cpp b/Source/core/svg/SVGLineElement.cpp |
index fe21256f3a946606276e2b6aa8db03b0d611c3ff..93b360970f01b3117c1d060b58e67b4508c4e753 100644 |
--- a/Source/core/svg/SVGLineElement.cpp |
+++ b/Source/core/svg/SVGLineElement.cpp |
@@ -46,7 +46,7 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGLineElement) |
END_REGISTER_ANIMATED_PROPERTIES |
inline SVGLineElement::SVGLineElement(const QualifiedName& tagName, Document& document) |
- : SVGGraphicsElement(tagName, document) |
+ : SVGGeometryElement(tagName, document) |
, m_x1(LengthModeWidth) |
, m_y1(LengthModeHeight) |
, m_x2(LengthModeWidth) |
@@ -81,7 +81,7 @@ void SVGLineElement::parseAttribute(const QualifiedName& name, const AtomicStrin |
SVGParsingError parseError = NoError; |
if (!isSupportedAttribute(name)) |
- SVGGraphicsElement::parseAttribute(name, value); |
+ SVGGeometryElement::parseAttribute(name, value); |
else if (name == SVGNames::x1Attr) |
setX1BaseValue(SVGLength::construct(LengthModeWidth, value, parseError)); |
else if (name == SVGNames::y1Attr) |
@@ -101,7 +101,7 @@ void SVGLineElement::parseAttribute(const QualifiedName& name, const AtomicStrin |
void SVGLineElement::svgAttributeChanged(const QualifiedName& attrName) |
{ |
if (!isSupportedAttribute(attrName)) { |
- SVGGraphicsElement::svgAttributeChanged(attrName); |
+ SVGGeometryElement::svgAttributeChanged(attrName); |
return; |
} |