| Index: third_party/WebKit/Source/core/svg/SVGLength.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGLength.cpp b/third_party/WebKit/Source/core/svg/SVGLength.cpp
|
| index 91b9d283c38c2fbb1dba07cb7b8f6289d2926165..f9bbaf636e9f1678c05666e0c749f74b23abaac8 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGLength.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGLength.cpp
|
| @@ -140,7 +140,7 @@ SVGParsingError SVGLength::setValueAsString(const String& string) {
|
| return SVGParseStatus::NoError;
|
| }
|
|
|
| - CSSParserContext svgParserContext(SVGAttributeMode, nullptr);
|
| + CSSParserContext* svgParserContext = new CSSParserContext(SVGAttributeMode);
|
| const CSSValue* parsed =
|
| CSSParser::parseSingleValue(CSSPropertyX, string, svgParserContext);
|
| if (!parsed || !parsed->isPrimitiveValue())
|
|
|