| Index: Source/core/css/parser/CSSPropertyParser.cpp
|
| diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
|
| index 1a7dd782a11896b30b0c432d377037f9a86c6bfd..4406c74575a134559b02dcbd7d0d9a16b46b36a1 100644
|
| --- a/Source/core/css/parser/CSSPropertyParser.cpp
|
| +++ b/Source/core/css/parser/CSSPropertyParser.cpp
|
| @@ -369,7 +369,9 @@ static bool isGeneratedImageValue(CSSParserValue* val)
|
| bool CSSPropertyParser::validWidthOrHeight(CSSParserValue* value, Units unitless)
|
| {
|
| int id = value->id;
|
| - if (id == CSSValueIntrinsic || id == CSSValueMinIntrinsic || id == CSSValueWebkitMinContent || id == CSSValueWebkitMaxContent || id == CSSValueWebkitFillAvailable || id == CSSValueWebkitFitContent) {
|
| + if (id == CSSValueIntrinsic || id == CSSValueMinIntrinsic
|
| + || id == CSSValueWebkitMinContent || id == CSSValueWebkitMaxContent || id == CSSValueWebkitFillAvailable || id == CSSValueWebkitFitContent
|
| + || id == CSSValueMinContent || id == CSSValueMaxContent || id == CSSValueFitContent) {
|
| if (m_context.useCounter()) {
|
| switch (value->id) {
|
| case CSSValueIntrinsic:
|
| @@ -391,7 +393,7 @@ bool CSSPropertyParser::validWidthOrHeight(CSSParserValue* value, Units unitless
|
| m_context.useCounter()->count(UseCounter::CSSValuePrefixedFitContent);
|
| break;
|
| default:
|
| - ASSERT_NOT_REACHED();
|
| + break;
|
| }
|
| }
|
| return true;
|
|
|