Index: Source/core/svg/SVGLineElement.cpp |
diff --git a/Source/core/svg/SVGLineElement.cpp b/Source/core/svg/SVGLineElement.cpp |
index c2ed46a95427c14ae8461df9a47aa35889085146..6f50d201ea16eae65841b0aef3b29b6b9206d45a 100644 |
--- a/Source/core/svg/SVGLineElement.cpp |
+++ b/Source/core/svg/SVGLineElement.cpp |
@@ -66,7 +66,6 @@ bool SVGLineElement::isSupportedAttribute(const QualifiedName& attrName) |
{ |
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |
if (supportedAttributes.isEmpty()) { |
- SVGTests::addSupportedAttributes(supportedAttributes); |
SVGLangSpace::addSupportedAttributes(supportedAttributes); |
SVGExternalResourcesRequired::addSupportedAttributes(supportedAttributes); |
supportedAttributes.add(SVGNames::x1Attr); |
@@ -91,8 +90,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 (SVGTests::parseAttribute(name, value) |
- || SVGLangSpace::parseAttribute(name, value) |
+ else if (SVGLangSpace::parseAttribute(name, value) |
|| SVGExternalResourcesRequired::parseAttribute(name, value)) { |
} else |
ASSERT_NOT_REACHED(); |
@@ -117,9 +115,6 @@ void SVGLineElement::svgAttributeChanged(const QualifiedName& attrName) |
if (isLengthAttribute) |
updateRelativeLengthsInformation(); |
- if (SVGTests::handleAttributeChange(this, attrName)) |
- return; |
- |
RenderSVGShape* renderer = toRenderSVGShape(this->renderer()); |
if (!renderer) |
return; |