Index: Source/core/svg/SVGRectElement.cpp |
diff --git a/Source/core/svg/SVGRectElement.cpp b/Source/core/svg/SVGRectElement.cpp |
index 997db6382e32e4699c54048e9aa8dcadddba8541..61c539edf11bcd63234ba9096c14ac417b42ae60 100644 |
--- a/Source/core/svg/SVGRectElement.cpp |
+++ b/Source/core/svg/SVGRectElement.cpp |
@@ -71,7 +71,6 @@ bool SVGRectElement::isSupportedAttribute(const QualifiedName& attrName) |
{ |
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |
if (supportedAttributes.isEmpty()) { |
- SVGLangSpace::addSupportedAttributes(supportedAttributes); |
SVGExternalResourcesRequired::addSupportedAttributes(supportedAttributes); |
supportedAttributes.add(SVGNames::xAttr); |
supportedAttributes.add(SVGNames::yAttr); |
@@ -101,8 +100,7 @@ void SVGRectElement::parseAttribute(const QualifiedName& name, const AtomicStrin |
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)) { |
} else |
ASSERT_NOT_REACHED(); |
@@ -138,7 +136,7 @@ void SVGRectElement::svgAttributeChanged(const QualifiedName& attrName) |
return; |
} |
- if (SVGLangSpace::isKnownAttribute(attrName) || SVGExternalResourcesRequired::isKnownAttribute(attrName)) { |
+ if (SVGExternalResourcesRequired::isKnownAttribute(attrName)) { |
RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer); |
return; |
} |