Index: Source/core/svg/SVGUseElement.cpp |
diff --git a/Source/core/svg/SVGUseElement.cpp b/Source/core/svg/SVGUseElement.cpp |
index 3afd6f38ddbf4e32a710efd6b7be103ad05940e7..80d36bf97f3725329374c1cf185c093cfa549ea5 100644 |
--- a/Source/core/svg/SVGUseElement.cpp |
+++ b/Source/core/svg/SVGUseElement.cpp |
@@ -122,7 +122,6 @@ bool SVGUseElement::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); |
@@ -147,8 +146,7 @@ void SVGUseElement::parseAttribute(const QualifiedName& name, const AtomicString |
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(); |
@@ -249,8 +247,7 @@ void SVGUseElement::svgAttributeChanged(const QualifiedName& attrName) |
if (!renderer) |
return; |
- if (SVGLangSpace::isKnownAttribute(attrName) |
- || SVGExternalResourcesRequired::isKnownAttribute(attrName)) { |
+ if (SVGExternalResourcesRequired::isKnownAttribute(attrName)) { |
invalidateShadowTree(); |
return; |
} |