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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSVariableParser.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/CSSVariableParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp
index c79b197a622e7f2b6505e0335184cccfd011e330..7cd474d33fe7a59601a491bd30e1937504877a69 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp
@@ -47,7 +47,7 @@ bool classifyBlock(CSSParserTokenRange range, bool& hasReferences, bool& hasAtAp
const CSSParserToken& token = range.consume();
switch (token.type()) {
case AtKeywordToken: {
- if (token.valueEqualsIgnoringASCIICase("apply")) {
+ if (equalIgnoringASCIICase(token.value(), "apply")) {
range.consumeWhitespace();
const CSSParserToken& variableName = range.consumeIncludingWhitespace();
if (!CSSVariableParser::isValidVariableName(variableName)

Powered by Google App Engine
This is Rietveld 408576698