Index: Source/core/svg/SVGRectElement.cpp |
diff --git a/Source/core/svg/SVGRectElement.cpp b/Source/core/svg/SVGRectElement.cpp |
index 2f0e12c0b97138a8239d54120f7474816fb7bfb8..0fb94858c1d043a2da954a1300ba3a46a5fe4544 100644 |
--- a/Source/core/svg/SVGRectElement.cpp |
+++ b/Source/core/svg/SVGRectElement.cpp |
@@ -51,7 +51,7 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGRectElement) |
END_REGISTER_ANIMATED_PROPERTIES |
inline SVGRectElement::SVGRectElement(const QualifiedName& tagName, Document& document) |
- : SVGGraphicsElement(tagName, document) |
+ : SVGGeometryElement(tagName, document) |
, m_x(LengthModeWidth) |
, m_y(LengthModeHeight) |
, m_width(LengthModeWidth) |
@@ -90,7 +90,7 @@ void SVGRectElement::parseAttribute(const QualifiedName& name, const AtomicStrin |
SVGParsingError parseError = NoError; |
if (!isSupportedAttribute(name)) |
- SVGGraphicsElement::parseAttribute(name, value); |
+ SVGGeometryElement::parseAttribute(name, value); |
else if (name == SVGNames::xAttr) |
setXBaseValue(SVGLength::construct(LengthModeWidth, value, parseError)); |
else if (name == SVGNames::yAttr) |
@@ -114,7 +114,7 @@ void SVGRectElement::parseAttribute(const QualifiedName& name, const AtomicStrin |
void SVGRectElement::svgAttributeChanged(const QualifiedName& attrName) |
{ |
if (!isSupportedAttribute(attrName)) { |
- SVGGraphicsElement::svgAttributeChanged(attrName); |
+ SVGGeometryElement::svgAttributeChanged(attrName); |
return; |
} |