Index: Source/core/svg/SVGImageElement.cpp |
diff --git a/Source/core/svg/SVGImageElement.cpp b/Source/core/svg/SVGImageElement.cpp |
index a1873f53875b12b167759b27658f3159d7958f8c..72e3008be73219e351400497461f43dd872bac00 100644 |
--- a/Source/core/svg/SVGImageElement.cpp |
+++ b/Source/core/svg/SVGImageElement.cpp |
@@ -85,7 +85,6 @@ bool SVGImageElement::isSupportedAttribute(const QualifiedName& attrName) |
{ |
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |
if (supportedAttributes.isEmpty()) { |
- SVGLangSpace::addSupportedAttributes(supportedAttributes); |
SVGExternalResourcesRequired::addSupportedAttributes(supportedAttributes); |
SVGURIReference::addSupportedAttributes(supportedAttributes); |
supportedAttributes.add(SVGNames::xAttr); |
@@ -132,8 +131,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 (SVGLangSpace::parseAttribute(name, value) |
- || SVGExternalResourcesRequired::parseAttribute(name, value) |
+ else if (SVGExternalResourcesRequired::parseAttribute(name, value) |
|| SVGURIReference::parseAttribute(name, value)) { |
} else |
ASSERT_NOT_REACHED(); |
@@ -174,7 +172,6 @@ void SVGImageElement::svgAttributeChanged(const QualifiedName& attrName) |
} |
if (attrName == SVGNames::preserveAspectRatioAttr |
- || SVGLangSpace::isKnownAttribute(attrName) |
|| SVGExternalResourcesRequired::isKnownAttribute(attrName)) { |
RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer); |
return; |