| Index: third_party/WebKit/Source/core/svg/SVGRectElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGRectElement.cpp b/third_party/WebKit/Source/core/svg/SVGRectElement.cpp
|
| index c5afe4f4f8f58b0aa1e217dfe7d1d8ef8111ce01..bcd789a8055aa0a823f08bc0654e4423e3aa67e7 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGRectElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGRectElement.cpp
|
| @@ -28,12 +28,12 @@ namespace blink {
|
|
|
| inline SVGRectElement::SVGRectElement(Document& document)
|
| : SVGGeometryElement(SVGNames::rectTag, document)
|
| - , m_x(SVGAnimatedLength::create(this, SVGNames::xAttr, SVGLength::create(SVGLengthMode::Width), AllowNegativeLengths))
|
| - , m_y(SVGAnimatedLength::create(this, SVGNames::yAttr, SVGLength::create(SVGLengthMode::Height), AllowNegativeLengths))
|
| - , m_width(SVGAnimatedLength::create(this, SVGNames::widthAttr, SVGLength::create(SVGLengthMode::Width), ForbidNegativeLengths))
|
| - , m_height(SVGAnimatedLength::create(this, SVGNames::heightAttr, SVGLength::create(SVGLengthMode::Height), ForbidNegativeLengths))
|
| - , m_rx(SVGAnimatedLength::create(this, SVGNames::rxAttr, SVGLength::create(SVGLengthMode::Width), ForbidNegativeLengths))
|
| - , m_ry(SVGAnimatedLength::create(this, SVGNames::ryAttr, SVGLength::create(SVGLengthMode::Height), ForbidNegativeLengths))
|
| + , m_x(SVGAnimatedLength::create(this, SVGNames::xAttr, SVGLength::create(SVGLengthMode::Width)))
|
| + , m_y(SVGAnimatedLength::create(this, SVGNames::yAttr, SVGLength::create(SVGLengthMode::Height)))
|
| + , m_width(SVGAnimatedLength::create(this, SVGNames::widthAttr, SVGLength::create(SVGLengthMode::Width)))
|
| + , m_height(SVGAnimatedLength::create(this, SVGNames::heightAttr, SVGLength::create(SVGLengthMode::Height)))
|
| + , m_rx(SVGAnimatedLength::create(this, SVGNames::rxAttr, SVGLength::create(SVGLengthMode::Width)))
|
| + , m_ry(SVGAnimatedLength::create(this, SVGNames::ryAttr, SVGLength::create(SVGLengthMode::Height)))
|
| {
|
| addToPropertyMap(m_x);
|
| addToPropertyMap(m_y);
|
|
|