| Index: third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
| index 2fc2a0c8185e4acd717d354e62ad42e334ca5684..cb911a5d40600fb73b1c1f6574c0a2479051f8a7 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
| @@ -836,8 +836,7 @@ static CSSValue* parseKeywordValue(CSSPropertyID propertyId, const String& strin
|
|
|
| if (!CSSParserFastPaths::isKeywordPropertyID(propertyId)) {
|
| // All properties accept the values of "initial" and "inherit".
|
| - String lowerCaseString = string.lower();
|
| - if (lowerCaseString != "initial" && lowerCaseString != "inherit")
|
| + if (!equalIgnoringASCIICase(string, "initial") && !equalIgnoringASCIICase(string, "inherit"))
|
| return nullptr;
|
|
|
| // Parse initial/inherit shorthands using the CSSPropertyParser.
|
|
|