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 7a2b26a6f1dac61bf5496a2cc817d4aab49dfe2e..766f4bc4e52634edb6f2ab6493751a816be850e4 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedLength.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedLength.cpp |
@@ -43,10 +43,10 @@ SVGParsingError SVGAnimatedLength::setBaseValueAsString(const String& value) |
{ |
SVGParsingError parseStatus = baseValue()->setValueAsString(value); |
- if (parseStatus != NoError) |
+ if (parseStatus != SVGStatus::NoError) |
baseValue()->newValueSpecifiedUnits(CSSPrimitiveValue::UnitType::UserUnits, 0); |
else if (SVGLength::negativeValuesForbiddenForAnimatedLengthAttribute(attributeName()) && baseValue()->valueInSpecifiedUnits() < 0) |
- parseStatus = NegativeValueForbiddenError; |
+ parseStatus = SVGStatus::NegativeValue; |
return parseStatus; |
} |