| Index: third_party/WebKit/Source/core/svg/SVGMaskElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGMaskElement.cpp b/third_party/WebKit/Source/core/svg/SVGMaskElement.cpp
|
| index a6c3df3ac5d43cbc146588b1c738c7ba1aaac36b..ce5b27f9ddcb4e4dd11f845234e14047a404d8f6 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGMaskElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGMaskElement.cpp
|
| @@ -35,8 +35,8 @@ inline SVGMaskElement::SVGMaskElement(Document& document)
|
| , 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_maskUnits(SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>::create(this, SVGNames::maskUnitsAttr, SVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX))
|
| - , m_maskContentUnits(SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>::create(this, SVGNames::maskContentUnitsAttr, SVGUnitTypes::SVG_UNIT_TYPE_USERSPACEONUSE))
|
| + , m_maskUnits(SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>::create(this, SVGNames::maskUnitsAttr, SVGUnitTypes::kSvgUnitTypeObjectboundingbox))
|
| + , m_maskContentUnits(SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>::create(this, SVGNames::maskContentUnitsAttr, SVGUnitTypes::kSvgUnitTypeUserspaceonuse))
|
| {
|
| // Spec: If the x/y attribute is not specified, the effect is as if a value of "-10%" were specified.
|
| m_x->setDefaultValueAsString("-10%");
|
|
|