Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(466)

Unified Diff: third_party/WebKit/Source/core/svg/SVGParsingError.cpp

Issue 1644293003: Error reporting for SVGInteger and SVGIntegerOptionalInteger (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TestExpectations; Drop redundant test. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGParsingError.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGParsingError.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGParsingError.cpp b/third_party/WebKit/Source/core/svg/SVGParsingError.cpp
index d0553150dedcc7ef8cc1c4e7b7ae8f83d1022349..0c3aeb1a4fc0e5de0d1903990dbec442d9380916 100644
--- a/third_party/WebKit/Source/core/svg/SVGParsingError.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGParsingError.cpp
@@ -34,6 +34,8 @@ std::pair<const char*, const char*> messageForStatus(SVGParseStatus status)
return std::make_pair("Expected 'true' or 'false', ", ".");
case SVGParseStatus::ExpectedEnumeration:
return std::make_pair("Unrecognized enumerated value, ", ".");
+ case SVGParseStatus::ExpectedInteger:
+ return std::make_pair("Expected integer, ", ".");
case SVGParseStatus::ExpectedLength:
return std::make_pair("Expected length, ", ".");
case SVGParseStatus::ExpectedMoveToCommand:
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGParsingError.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698