Index: third_party/WebKit/Source/core/svg/SVGNumberOptionalNumber.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGNumberOptionalNumber.cpp b/third_party/WebKit/Source/core/svg/SVGNumberOptionalNumber.cpp |
index b5c95f261e88a60a60e91f3cbec758272f2e28ce..a41eb2e4de9078ae48181e9bc8fd15f73095fc10 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGNumberOptionalNumber.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGNumberOptionalNumber.cpp |
@@ -78,7 +78,7 @@ SVGParsingError SVGNumberOptionalNumber::setValueAsString(const String& value) |
float x, y; |
SVGParsingError parseStatus; |
if (!parseNumberOptionalNumber(value, x, y)) { |
- parseStatus = SVGParseStatus::ParsingFailed; |
+ parseStatus = SVGParseStatus::ExpectedNumber; |
x = y = 0; |
} |