| Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| index 0d0289de215d787aff3cce61cc940094fc764aff..d4d70efa9efd8cb3881687b8c3e008fdb7e11f95 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| @@ -1927,7 +1927,8 @@ static PassRefPtrWillBeRawPtr<CSSValue> consumePath(CSSParserTokenRange& range)
|
| String pathString = functionArgs.consumeIncludingWhitespace().value();
|
|
|
| RefPtr<SVGPathByteStream> byteStream = SVGPathByteStream::create();
|
| - if (!buildByteStreamFromString(pathString, *byteStream) || !functionArgs.atEnd())
|
| + if (buildByteStreamFromString(pathString, *byteStream) != SVGParseStatus::NoError
|
| + || !functionArgs.atEnd())
|
| return nullptr;
|
|
|
| range = functionRange;
|
|
|