| Index: third_party/WebKit/Source/core/svg/SVGAnimatedLength.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedLength.cpp b/third_party/WebKit/Source/core/svg/SVGAnimatedLength.cpp
|
| index ade7ec10472d24a5d78f0329af3ab220f9deaf7b..48bf31804c7f9985fd24c370b60395b75ad98e38 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGAnimatedLength.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGAnimatedLength.cpp
|
| @@ -49,7 +49,7 @@ void SVGAnimatedLength::setBaseValueAsString(const String& value, SVGParsingErro
|
|
|
| if (es.hadException()) {
|
| parseError = ParsingAttributeFailedError;
|
| - baseValue()->newValueSpecifiedUnits(LengthTypeNumber, 0);
|
| + baseValue()->newValueSpecifiedUnits(CSSPrimitiveValue::UnitType::Number, 0);
|
| } else if (m_negativeValuesMode == ForbidNegativeLengths && baseValue()->valueInSpecifiedUnits() < 0) {
|
| parseError = NegativeValueForbiddenError;
|
| }
|
|
|