Index: third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp b/third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp |
index 1751c2ca0a60cfb6040eda1f30c98336e06203b5..11cddc2763d976b69668be09185727ef037fbd79 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp |
@@ -32,10 +32,10 @@ namespace blink { |
inline SVGLinearGradientElement::SVGLinearGradientElement(Document& document) |
: SVGGradientElement(SVGNames::linearGradientTag, 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))) |
{ |
// Spec: If the x1|y1|y2 attribute is not specified, the effect is as if a value of "0%" were specified. |