| Index: third_party/WebKit/Source/core/svg/SVGPath.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGPath.cpp b/third_party/WebKit/Source/core/svg/SVGPath.cpp
|
| index b492923f5b789c35666d12f473e33fa73b2ba277..37547edf1aca8fc430b5258658ad1e573b2271e4 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGPath.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGPath.cpp
|
| @@ -95,10 +95,8 @@ PassRefPtrWillBeRawPtr<SVGPath> SVGPath::clone() const
|
|
|
| SVGParsingError SVGPath::setValueAsString(const String& string)
|
| {
|
| - SVGParsingError parseStatus;
|
| RefPtr<SVGPathByteStream> byteStream = SVGPathByteStream::create();
|
| - if (!buildByteStreamFromString(string, *byteStream))
|
| - parseStatus = SVGParseStatus::ParsingFailed;
|
| + SVGParsingError parseStatus = buildByteStreamFromString(string, *byteStream);
|
| m_pathValue = CSSPathValue::create(byteStream.release());
|
| return parseStatus;
|
| }
|
|
|