| Index: third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
|
| index afe156ff6fe91d11d73fa6bf05a3841d2ef3f674..15e1ebd78a637a3f6477afea6b48323b65db6ea6 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
|
| @@ -440,7 +440,7 @@ static AtomicString consumeStringOrURI(CSSParserTokenRange& range)
|
| if (token.type() == StringToken || token.type() == UrlToken)
|
| return range.consumeIncludingWhitespace().value().toAtomicString();
|
|
|
| - if (token.type() != FunctionToken || !token.valueEqualsIgnoringASCIICase("url"))
|
| + if (token.type() != FunctionToken || !equalIgnoringASCIICase(token.value(), "url"))
|
| return AtomicString();
|
|
|
| CSSParserTokenRange contents = range.consumeBlock();
|
| @@ -762,7 +762,7 @@ void CSSParserImpl::consumeDeclaration(CSSParserTokenRange range, StyleRule::Rul
|
| const CSSParserToken* last = range.end() - 1;
|
| while (last->type() == WhitespaceToken)
|
| --last;
|
| - if (last->type() == IdentToken && last->valueEqualsIgnoringASCIICase("important")) {
|
| + if (last->type() == IdentToken && equalIgnoringASCIICase(last->value(), "important")) {
|
| --last;
|
| while (last->type() == WhitespaceToken)
|
| --last;
|
| @@ -813,9 +813,9 @@ std::unique_ptr<Vector<double>> CSSParserImpl::consumeKeyframeKeyList(CSSParserT
|
| const CSSParserToken& token = range.consumeIncludingWhitespace();
|
| if (token.type() == PercentageToken && token.numericValue() >= 0 && token.numericValue() <= 100)
|
| result->append(token.numericValue() / 100);
|
| - else if (token.type() == IdentToken && token.valueEqualsIgnoringASCIICase("from"))
|
| + else if (token.type() == IdentToken && equalIgnoringASCIICase(token.value(), "from"))
|
| result->append(0);
|
| - else if (token.type() == IdentToken && token.valueEqualsIgnoringASCIICase("to"))
|
| + else if (token.type() == IdentToken && equalIgnoringASCIICase(token.value(), "to"))
|
| result->append(1);
|
| else
|
| return nullptr; // Parser error, invalid value in keyframe selector
|
|
|