Index: Source/core/svg/SVGRectElement.cpp |
diff --git a/Source/core/svg/SVGRectElement.cpp b/Source/core/svg/SVGRectElement.cpp |
index 954d4539519bc8a37d7e56710897fe13ebbc4b51..044ac8907f53ae2eceaf789515f011cbb1a8d3ee 100644 |
--- a/Source/core/svg/SVGRectElement.cpp |
+++ b/Source/core/svg/SVGRectElement.cpp |
@@ -47,12 +47,11 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGRectElement) |
REGISTER_LOCAL_ANIMATED_PROPERTY(rx) |
REGISTER_LOCAL_ANIMATED_PROPERTY(ry) |
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 SVGRectElement::SVGRectElement(const QualifiedName& tagName, Document* document) |
- : SVGStyledTransformableElement(tagName, document) |
+ : SVGGraphicsElement(tagName, document) |
, m_x(LengthModeWidth) |
, m_y(LengthModeHeight) |
, m_width(LengthModeWidth) |
@@ -92,7 +91,7 @@ void SVGRectElement::parseAttribute(const QualifiedName& name, const AtomicStrin |
SVGParsingError parseError = NoError; |
if (!isSupportedAttribute(name)) |
- SVGStyledTransformableElement::parseAttribute(name, value); |
+ SVGGraphicsElement::parseAttribute(name, value); |
else if (name == SVGNames::xAttr) |
setXBaseValue(SVGLength::construct(LengthModeWidth, value, parseError)); |
else if (name == SVGNames::yAttr) |
@@ -117,7 +116,7 @@ void SVGRectElement::parseAttribute(const QualifiedName& name, const AtomicStrin |
void SVGRectElement::svgAttributeChanged(const QualifiedName& attrName) |
{ |
if (!isSupportedAttribute(attrName)) { |
- SVGStyledTransformableElement::svgAttributeChanged(attrName); |
+ SVGGraphicsElement::svgAttributeChanged(attrName); |
return; |
} |