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

Unified Diff: third_party/WebKit/Source/core/css/parser/SizesCalcParser.cpp

Issue 1636453002: Use ASCII case-insensitive matching for ident-likes in the CSS parser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Consistent indentation in 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/css/parser/MediaQueryParser.cpp ('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/css/parser/SizesCalcParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/SizesCalcParser.cpp b/third_party/WebKit/Source/core/css/parser/SizesCalcParser.cpp
index 4dd16c9a5bcad5ee9af34d06925b50b2b854434a..889607d0b24aa325f1647e7209ae3ef62727626f 100644
--- a/third_party/WebKit/Source/core/css/parser/SizesCalcParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/SizesCalcParser.cpp
@@ -105,7 +105,7 @@ bool SizesCalcParser::calcToReversePolishNotation(CSSParserTokenRange range)
return false;
break;
case FunctionToken:
- if (!token.valueEqualsIgnoringCase("calc"))
+ if (!token.valueEqualsIgnoringASCIICase("calc"))
return false;
// "calc(" is the same as "("
case LeftParenthesisToken:
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/MediaQueryParser.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698