Index: third_party/WebKit/Source/core/svg/SVGLineElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGLineElement.cpp b/third_party/WebKit/Source/core/svg/SVGLineElement.cpp |
index 23f5b1e7a9a1c65123893ad3e0f34288e42b0827..17b6b046e5c386153acda3a96c6bf89b229e2494 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGLineElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGLineElement.cpp |
@@ -28,10 +28,10 @@ namespace blink { |
inline SVGLineElement::SVGLineElement(Document& document) |
: SVGGeometryElement(SVGNames::lineTag, document) |
- , m_x1(SVGAnimatedLength::create(this, SVGNames::x1Attr, SVGLength::create(SVGLengthMode::Width), AllowNegativeLengths)) |
- , m_y1(SVGAnimatedLength::create(this, SVGNames::y1Attr, SVGLength::create(SVGLengthMode::Height), AllowNegativeLengths)) |
- , m_x2(SVGAnimatedLength::create(this, SVGNames::x2Attr, SVGLength::create(SVGLengthMode::Width), AllowNegativeLengths)) |
- , m_y2(SVGAnimatedLength::create(this, SVGNames::y2Attr, SVGLength::create(SVGLengthMode::Height), AllowNegativeLengths)) |
+ , m_x1(SVGAnimatedLength::create(this, SVGNames::x1Attr, SVGLength::create(SVGLengthMode::Width))) |
+ , m_y1(SVGAnimatedLength::create(this, SVGNames::y1Attr, SVGLength::create(SVGLengthMode::Height))) |
+ , m_x2(SVGAnimatedLength::create(this, SVGNames::x2Attr, SVGLength::create(SVGLengthMode::Width))) |
+ , m_y2(SVGAnimatedLength::create(this, SVGNames::y2Attr, SVGLength::create(SVGLengthMode::Height))) |
{ |
addToPropertyMap(m_x1); |
addToPropertyMap(m_y1); |