| Index: Source/core/svg/SVGForeignObjectElement.cpp
|
| diff --git a/Source/core/svg/SVGForeignObjectElement.cpp b/Source/core/svg/SVGForeignObjectElement.cpp
|
| index eaa684c00bd0479baa53bec1788ca39308be9032..4d3a901041394cda9ad710121b5b13adad82e80c 100644
|
| --- a/Source/core/svg/SVGForeignObjectElement.cpp
|
| +++ b/Source/core/svg/SVGForeignObjectElement.cpp
|
| @@ -47,12 +47,11 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGForeignObjectElement)
|
| REGISTER_LOCAL_ANIMATED_PROPERTY(height)
|
| REGISTER_LOCAL_ANIMATED_PROPERTY(href)
|
| 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 SVGForeignObjectElement::SVGForeignObjectElement(const QualifiedName& tagName, Document* document)
|
| - : SVGStyledTransformableElement(tagName, document)
|
| + : SVGGraphicsElement(tagName, document)
|
| , m_x(LengthModeWidth)
|
| , m_y(LengthModeHeight)
|
| , m_width(LengthModeWidth)
|
| @@ -88,7 +87,7 @@ void SVGForeignObjectElement::parseAttribute(const QualifiedName& name, const At
|
| 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)
|
| @@ -109,7 +108,7 @@ void SVGForeignObjectElement::parseAttribute(const QualifiedName& name, const At
|
| void SVGForeignObjectElement::svgAttributeChanged(const QualifiedName& attrName)
|
| {
|
| if (!isSupportedAttribute(attrName)) {
|
| - SVGStyledTransformableElement::svgAttributeChanged(attrName);
|
| + SVGGraphicsElement::svgAttributeChanged(attrName);
|
| return;
|
| }
|
|
|
| @@ -160,7 +159,7 @@ bool SVGForeignObjectElement::rendererIsNeeded(const NodeRenderingContext& conte
|
| ancestor = ancestor->parentElement();
|
| }
|
|
|
| - return SVGStyledTransformableElement::rendererIsNeeded(context);
|
| + return SVGGraphicsElement::rendererIsNeeded(context);
|
| }
|
|
|
| bool SVGForeignObjectElement::selfHasRelativeLengths() const
|
|
|