Index: Source/core/svg/SVGImageElement.cpp |
diff --git a/Source/core/svg/SVGImageElement.cpp b/Source/core/svg/SVGImageElement.cpp |
index 6a4ae7006e13d0adf64de8575ffaa750e2fd783a..5b850375234bdfa28a9ce720f4747a8a73590de1 100644 |
--- a/Source/core/svg/SVGImageElement.cpp |
+++ b/Source/core/svg/SVGImageElement.cpp |
@@ -75,7 +75,6 @@ bool SVGImageElement::isSupportedAttribute(const QualifiedName& attrName) |
{ |
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |
if (supportedAttributes.isEmpty()) { |
- SVGTests::addSupportedAttributes(supportedAttributes); |
SVGLangSpace::addSupportedAttributes(supportedAttributes); |
SVGExternalResourcesRequired::addSupportedAttributes(supportedAttributes); |
SVGURIReference::addSupportedAttributes(supportedAttributes); |
@@ -123,8 +122,7 @@ void SVGImageElement::parseAttribute(const QualifiedName& name, const AtomicStri |
setWidthBaseValue(SVGLength::construct(LengthModeWidth, value, parseError, ForbidNegativeLengths)); |
else if (name == SVGNames::heightAttr) |
setHeightBaseValue(SVGLength::construct(LengthModeHeight, value, parseError, ForbidNegativeLengths)); |
- else if (SVGTests::parseAttribute(name, value) |
- || SVGLangSpace::parseAttribute(name, value) |
+ else if (SVGLangSpace::parseAttribute(name, value) |
|| SVGExternalResourcesRequired::parseAttribute(name, value) |
|| SVGURIReference::parseAttribute(name, value)) { |
} else |
@@ -150,9 +148,6 @@ void SVGImageElement::svgAttributeChanged(const QualifiedName& attrName) |
if (isLengthAttribute) |
updateRelativeLengthsInformation(); |
- if (SVGTests::handleAttributeChange(this, attrName)) |
- return; |
- |
if (SVGURIReference::isKnownAttribute(attrName)) { |
m_imageLoader.updateFromElementIgnoringPreviousError(); |
return; |