Index: Source/core/svg/SVGLineElement.cpp |
diff --git a/Source/core/svg/SVGLineElement.cpp b/Source/core/svg/SVGLineElement.cpp |
index 9cd4a6ecfdfad3f31300677069dfc81689c9672e..05ffe1509e18ab55d3aedf4d0fcfc24d3c25bd98 100644 |
--- a/Source/core/svg/SVGLineElement.cpp |
+++ b/Source/core/svg/SVGLineElement.cpp |
@@ -64,7 +64,6 @@ bool SVGLineElement::isSupportedAttribute(const QualifiedName& attrName) |
{ |
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |
if (supportedAttributes.isEmpty()) { |
- SVGLangSpace::addSupportedAttributes(supportedAttributes); |
SVGExternalResourcesRequired::addSupportedAttributes(supportedAttributes); |
supportedAttributes.add(SVGNames::x1Attr); |
supportedAttributes.add(SVGNames::x2Attr); |
@@ -88,8 +87,7 @@ void SVGLineElement::parseAttribute(const QualifiedName& name, const AtomicStrin |
setX2BaseValue(SVGLength::construct(LengthModeWidth, value, parseError)); |
else if (name == SVGNames::y2Attr) |
setY2BaseValue(SVGLength::construct(LengthModeHeight, value, parseError)); |
- else if (SVGLangSpace::parseAttribute(name, value) |
- || SVGExternalResourcesRequired::parseAttribute(name, value)) { |
+ else if (SVGExternalResourcesRequired::parseAttribute(name, value)) { |
} else |
ASSERT_NOT_REACHED(); |
@@ -123,7 +121,7 @@ void SVGLineElement::svgAttributeChanged(const QualifiedName& attrName) |
return; |
} |
- if (SVGLangSpace::isKnownAttribute(attrName) || SVGExternalResourcesRequired::isKnownAttribute(attrName)) { |
+ if (SVGExternalResourcesRequired::isKnownAttribute(attrName)) { |
RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer); |
return; |
} |