Index: Source/core/svg/SVGAnimatedLength.cpp |
diff --git a/Source/core/svg/SVGAnimatedLength.cpp b/Source/core/svg/SVGAnimatedLength.cpp |
index ade7ec10472d24a5d78f0329af3ab220f9deaf7b..de2ff387eedd1f7a195942e5c4e8d69e9f8f1f2e 100644 |
--- a/Source/core/svg/SVGAnimatedLength.cpp |
+++ b/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::CSS_NUMBER, 0); |
} else if (m_negativeValuesMode == ForbidNegativeLengths && baseValue()->valueInSpecifiedUnits() < 0) { |
parseError = NegativeValueForbiddenError; |
} |