Index: Source/core/svg/SVGPatternElement.cpp |
diff --git a/Source/core/svg/SVGPatternElement.cpp b/Source/core/svg/SVGPatternElement.cpp |
index 3f45b9ef5ecd2037720d068f36d0fedfba7ef592..950202068a482da50cd5b227eb11ceac502c527d 100644 |
--- a/Source/core/svg/SVGPatternElement.cpp |
+++ b/Source/core/svg/SVGPatternElement.cpp |
@@ -58,12 +58,12 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGPatternElement) |
REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired) |
REGISTER_LOCAL_ANIMATED_PROPERTY(viewBox) |
REGISTER_LOCAL_ANIMATED_PROPERTY(preserveAspectRatio) |
- REGISTER_PARENT_ANIMATED_PROPERTIES(SVGStyledElement) |
+ REGISTER_PARENT_ANIMATED_PROPERTIES(SVGElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTests) |
END_REGISTER_ANIMATED_PROPERTIES |
inline SVGPatternElement::SVGPatternElement(const QualifiedName& tagName, Document* document) |
- : SVGStyledElement(tagName, document) |
+ : SVGElement(tagName, document) |
, m_x(LengthModeWidth) |
, m_y(LengthModeHeight) |
, m_width(LengthModeWidth) |
@@ -105,7 +105,7 @@ void SVGPatternElement::parseAttribute(const QualifiedName& name, const AtomicSt |
SVGParsingError parseError = NoError; |
if (!isSupportedAttribute(name)) |
- SVGStyledElement::parseAttribute(name, value); |
+ SVGElement::parseAttribute(name, value); |
else if (name == SVGNames::patternUnitsAttr) { |
SVGUnitTypes::SVGUnitType propertyValue = SVGPropertyTraits<SVGUnitTypes::SVGUnitType>::fromString(value); |
if (propertyValue > 0) |
@@ -143,7 +143,7 @@ void SVGPatternElement::parseAttribute(const QualifiedName& name, const AtomicSt |
void SVGPatternElement::svgAttributeChanged(const QualifiedName& attrName) |
{ |
if (!isSupportedAttribute(attrName)) { |
- SVGStyledElement::svgAttributeChanged(attrName); |
+ SVGElement::svgAttributeChanged(attrName); |
return; |
} |
@@ -161,7 +161,7 @@ void SVGPatternElement::svgAttributeChanged(const QualifiedName& attrName) |
void SVGPatternElement::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta) |
{ |
- SVGStyledElement::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta); |
+ SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta); |
if (changedByParser) |
return; |