| Index: Source/core/css/parser/CSSPropertyParser.cpp
|
| diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
|
| index 92ad1ec0ffb497ff18b4964cfd079da71c7c920a..659d515efef886fe2973eb0c0bdc942d2a829d58 100644
|
| --- a/Source/core/css/parser/CSSPropertyParser.cpp
|
| +++ b/Source/core/css/parser/CSSPropertyParser.cpp
|
| @@ -4791,13 +4791,11 @@ PassRefPtrWillBeRawPtr<CSSValueList> CSSPropertyParser::parseFontFaceUnicodeRang
|
| if (!current || current->unit != CSSParserValue::UnicodeRange)
|
| return nullptr;
|
|
|
| - CSSParserValue* start = current->valueList->valueAt(0);
|
| - CSSParserValue* end = current->valueList->valueAt(1);
|
| - ASSERT(start->unit == CSSPrimitiveValue::CSS_NUMBER);
|
| - ASSERT(end->unit == CSSPrimitiveValue::CSS_NUMBER);
|
| - if (start->fValue > end->fValue)
|
| + UChar32 start = current->m_unicodeRange.start;
|
| + UChar32 end = current->m_unicodeRange.end;
|
| + if (start > end)
|
| return nullptr;
|
| - values->append(CSSUnicodeRangeValue::create(start->fValue, end->fValue));
|
| + values->append(CSSUnicodeRangeValue::create(start, end));
|
| m_valueList->next();
|
| } while (consumeComma(m_valueList));
|
|
|
|
|