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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.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/CSSPropertyParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
index 248e6348211de4b237d18a57cf198ffb8ae325a8..70b4a404fbd6b5c3877d3b75e19d12722e6bffc0 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
@@ -1115,7 +1115,7 @@ static CSSValue* consumeAnimationName(CSSParserTokenRange& range, const CSSParse
context.useCounter()->count(UseCounter::QuotedAnimationName);
const CSSParserToken& token = range.consumeIncludingWhitespace();
- if (token.valueEqualsIgnoringASCIICase("none"))
+ if (equalIgnoringASCIICase(token.value(), "none"))
return CSSPrimitiveValue::createIdentifier(CSSValueNone);
return CSSCustomIdentValue::create(token.value().toString());
}

Powered by Google App Engine
This is Rietveld 408576698