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

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

Issue 1669333002: Error reporting for SVGAngle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 abbe1631d8ce85153d85423b13722d05840a3afd..3631fe29285d96a8a808b21c28fa8f6e702ebc52 100644
--- a/third_party/WebKit/Source/core/svg/SVGParsingError.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGParsingError.cpp
@@ -28,6 +28,8 @@ std::pair<const char*, const char*> messageForStatus(SVGParseStatus status)
switch (status) {
case SVGParseStatus::TrailingGarbage:
return std::make_pair("Trailing garbage, ", ".");
+ case SVGParseStatus::ExpectedAngle:
+ return std::make_pair("Expected angle, ", ".");
case SVGParseStatus::ExpectedArcFlag:
return std::make_pair("Expected arc flag ('0' or '1'), ", ".");
case SVGParseStatus::ExpectedBoolean:
« 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