Index: third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp b/third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp |
index a6988a680b93a320ec740d3a4f3a8b338c0b8185..87ea3f0114802c740c367c4544e7076ba9509994 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp |
@@ -31,12 +31,12 @@ namespace blink { |
inline SVGRadialGradientElement::SVGRadialGradientElement(Document& document) |
: SVGGradientElement(SVGNames::radialGradientTag, document) |
- , m_cx(SVGAnimatedLength::create(this, SVGNames::cxAttr, SVGLength::create(SVGLengthMode::Width), AllowNegativeLengths)) |
- , m_cy(SVGAnimatedLength::create(this, SVGNames::cyAttr, SVGLength::create(SVGLengthMode::Height), AllowNegativeLengths)) |
- , m_r(SVGAnimatedLength::create(this, SVGNames::rAttr, SVGLength::create(SVGLengthMode::Other), ForbidNegativeLengths)) |
- , m_fx(SVGAnimatedLength::create(this, SVGNames::fxAttr, SVGLength::create(SVGLengthMode::Width), AllowNegativeLengths)) |
- , m_fy(SVGAnimatedLength::create(this, SVGNames::fyAttr, SVGLength::create(SVGLengthMode::Height), AllowNegativeLengths)) |
- , m_fr(SVGAnimatedLength::create(this, SVGNames::frAttr, SVGLength::create(SVGLengthMode::Other), ForbidNegativeLengths)) |
+ , m_cx(SVGAnimatedLength::create(this, SVGNames::cxAttr, SVGLength::create(SVGLengthMode::Width))) |
+ , m_cy(SVGAnimatedLength::create(this, SVGNames::cyAttr, SVGLength::create(SVGLengthMode::Height))) |
+ , m_r(SVGAnimatedLength::create(this, SVGNames::rAttr, SVGLength::create(SVGLengthMode::Other))) |
+ , m_fx(SVGAnimatedLength::create(this, SVGNames::fxAttr, SVGLength::create(SVGLengthMode::Width))) |
+ , m_fy(SVGAnimatedLength::create(this, SVGNames::fyAttr, SVGLength::create(SVGLengthMode::Height))) |
+ , m_fr(SVGAnimatedLength::create(this, SVGNames::frAttr, SVGLength::create(SVGLengthMode::Other))) |
{ |
// Spec: If the cx/cy/r attribute is not specified, the effect is as if a value of "50%" were specified. |
m_cx->setDefaultValueAsString("50%"); |