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

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

Issue 2086283002: Convert CSSParserToken::valueEqualsIgnoringASCIICase to equalIgnoringASCIICase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/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 7a4a61ab91e02409671eed0d2003d580f7a431aa..63a7a5d610406ada0a5b196e276844f8ac9daaff 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.valueEqualsIgnoringASCIICase("calc"))
+ if (!equalIgnoringASCIICase(token.value(), "calc"))
return false;
// "calc(" is the same as "("
case LeftParenthesisToken:

Powered by Google App Engine
This is Rietveld 408576698