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

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

Issue 1663753003: Additional errors for SVG transform list parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 c6e9fc4eaebac2f0e9264330aaeff88392574466..abbe1631d8ce85153d85423b13722d05840a3afd 100644
--- a/third_party/WebKit/Source/core/svg/SVGParsingError.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGParsingError.cpp
@@ -46,6 +46,10 @@ std::pair<const char*, const char*> messageForStatus(SVGParseStatus status)
return std::make_pair("Expected number, ", ".");
case SVGParseStatus::ExpectedPathCommand:
return std::make_pair("Expected path command, ", ".");
+ case SVGParseStatus::ExpectedStartOfArguments:
+ return std::make_pair("Expected '(', ", ".");
+ case SVGParseStatus::ExpectedTransformFunction:
+ return std::make_pair("Expected transform function, ", ".");
case SVGParseStatus::NegativeValue:
return std::make_pair("A negative value is not valid. (", ")");
case SVGParseStatus::ZeroValue:
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGParsingError.h ('k') | third_party/WebKit/Source/core/svg/SVGTransformList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698