| 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 33a29e13cf63751eac303eef181606efce2df827..2fc2a0c8185e4acd717d354e62ad42e334ca5684 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
| @@ -993,16 +993,14 @@ static CSSValueList* parseSimpleTransformList(CharType*& pos, CharType* end)
|
| while (pos < end) {
|
| while (pos < end && isCSSSpace(*pos))
|
| ++pos;
|
| + if (pos >= end)
|
| + break;
|
| CSSFunctionValue* transformValue = parseSimpleTransformValue(pos, end);
|
| if (!transformValue)
|
| return nullptr;
|
| if (!transformList)
|
| transformList = CSSValueList::createSpaceSeparated();
|
| transformList->append(transformValue);
|
| - if (pos < end) {
|
| - if (isCSSSpace(*pos))
|
| - return nullptr;
|
| - }
|
| }
|
| return transformList;
|
| }
|
|
|