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

Unified Diff: third_party/WebKit/Source/core/svg/SVGParserUtilities.h

Issue 1667353003: Error reporting for number-or-percentage (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
Index: third_party/WebKit/Source/core/svg/SVGParserUtilities.h
diff --git a/third_party/WebKit/Source/core/svg/SVGParserUtilities.h b/third_party/WebKit/Source/core/svg/SVGParserUtilities.h
index e4e788ab18c5ed9c2d5022d0f85c88d2cbde0820..5e0819801f9db447c949536ab68639ef58d36dda 100644
--- a/third_party/WebKit/Source/core/svg/SVGParserUtilities.h
+++ b/third_party/WebKit/Source/core/svg/SVGParserUtilities.h
@@ -36,7 +36,6 @@ enum WhitespaceMode {
bool parseNumber(const LChar*& ptr, const LChar* end, float& number, WhitespaceMode = AllowLeadingAndTrailingWhitespace);
bool parseNumber(const UChar*& ptr, const UChar* end, float& number, WhitespaceMode = AllowLeadingAndTrailingWhitespace);
bool parseNumberOptionalNumber(const String& s, float& h, float& v);
-bool parseNumberOrPercentage(const String& s, float& number);
bool parseArcFlag(const LChar*& ptr, const LChar* end, bool& flag);
bool parseArcFlag(const UChar*& ptr, const UChar* end, bool& flag);
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGNumber.cpp ('k') | third_party/WebKit/Source/core/svg/SVGParserUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698