Index: Source/core/svg/SVGForeignObjectElement.cpp |
diff --git a/Source/core/svg/SVGForeignObjectElement.cpp b/Source/core/svg/SVGForeignObjectElement.cpp |
index 4d3a901041394cda9ad710121b5b13adad82e80c..bb1bf660264d698b0517bcc8936203f476dbeb8f 100644 |
--- a/Source/core/svg/SVGForeignObjectElement.cpp |
+++ b/Source/core/svg/SVGForeignObjectElement.cpp |
@@ -71,7 +71,6 @@ bool SVGForeignObjectElement::isSupportedAttribute(const QualifiedName& attrName |
{ |
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |
if (supportedAttributes.isEmpty()) { |
- SVGTests::addSupportedAttributes(supportedAttributes); |
SVGLangSpace::addSupportedAttributes(supportedAttributes); |
SVGExternalResourcesRequired::addSupportedAttributes(supportedAttributes); |
supportedAttributes.add(SVGNames::xAttr); |
@@ -96,8 +95,7 @@ void SVGForeignObjectElement::parseAttribute(const QualifiedName& name, const At |
setWidthBaseValue(SVGLength::construct(LengthModeWidth, value, parseError)); |
else if (name == SVGNames::heightAttr) |
setHeightBaseValue(SVGLength::construct(LengthModeHeight, value, parseError)); |
- else if (SVGTests::parseAttribute(name, value) |
- || SVGLangSpace::parseAttribute(name, value) |
+ else if (SVGLangSpace::parseAttribute(name, value) |
|| SVGExternalResourcesRequired::parseAttribute(name, value)) { |
} else |
ASSERT_NOT_REACHED(); |
@@ -122,9 +120,6 @@ void SVGForeignObjectElement::svgAttributeChanged(const QualifiedName& attrName) |
if (isLengthAttribute) |
updateRelativeLengthsInformation(); |
- if (SVGTests::handleAttributeChange(this, attrName)) |
- return; |
- |
if (RenderObject* renderer = this->renderer()) |
RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer); |
} |