Index: third_party/WebKit/Source/core/svg/SVGPathElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp |
index fb1f808cb01ee5362a7ac594d89bdee6e909736d..baae0a33f642bfc49115ce5a60acabe75722dd31 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp |
@@ -38,8 +38,8 @@ public: |
SVGParsingError setBaseValueAsString(const String& value) override |
{ |
SVGParsingError parseStatus = SVGAnimatedNumber::setBaseValueAsString(value); |
- if (parseStatus == NoError && baseValue()->value() < 0) |
- parseStatus = NegativeValueForbiddenError; |
+ if (parseStatus == SVGParseStatus::NoError && baseValue()->value() < 0) |
+ parseStatus = SVGParseStatus::NegativeValue; |
return parseStatus; |
} |