Index: third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp b/third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp |
index f5452484535e2a33a66df65b61d8cf074e14ae82..c792f92b35971d3a4ad62a8b20053d759451360b 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp |
@@ -31,10 +31,10 @@ namespace blink { |
inline SVGForeignObjectElement::SVGForeignObjectElement(Document& document) |
: SVGGraphicsElement(SVGNames::foreignObjectTag, 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_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))) |
{ |
addToPropertyMap(m_x); |
addToPropertyMap(m_y); |