Index: Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp |
diff --git a/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp b/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp |
index fcc757a133983cebf3d538e139488d06984d0ab1..0bef014079d82af9e8329e7ba99a2d50f39b1e78 100644 |
--- a/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp |
+++ b/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp |
@@ -32,10 +32,10 @@ namespace blink { |
SVGFilterPrimitiveStandardAttributes::SVGFilterPrimitiveStandardAttributes(const QualifiedName& tagName, Document& document) |
: SVGElement(tagName, document) |
- , m_x(SVGAnimatedLength::create(this, SVGNames::xAttr, SVGLength::create(LengthModeWidth), AllowNegativeLengths)) |
- , m_y(SVGAnimatedLength::create(this, SVGNames::yAttr, SVGLength::create(LengthModeHeight), AllowNegativeLengths)) |
- , m_width(SVGAnimatedLength::create(this, SVGNames::widthAttr, SVGLength::create(LengthModeWidth), ForbidNegativeLengths)) |
- , m_height(SVGAnimatedLength::create(this, SVGNames::heightAttr, SVGLength::create(LengthModeHeight), ForbidNegativeLengths)) |
+ , 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_result(SVGAnimatedString::create(this, SVGNames::resultAttr, SVGString::create())) |
{ |
// Spec: If the x/y attribute is not specified, the effect is as if a value of "0%" were specified. |