| 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 88d4ec8c1ff4bbd92ccf6866c4980bf0eb2fdf3e..9b2a5a60b9cdf301420615f91fc4f9122f4b992d 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| @@ -1937,7 +1937,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;
|
|
|