| 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..aaebecacdfe3019756461452dba6892dd238e051 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGLength.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGLength.cpp
|
| @@ -140,7 +140,8 @@ SVGParsingError SVGLength::setValueAsString(const String& string) {
|
| return SVGParseStatus::NoError;
|
| }
|
|
|
| - CSSParserContext svgParserContext(SVGAttributeMode, nullptr);
|
| + CSSParserContext* svgParserContext =
|
| + CSSParserContext::create(SVGAttributeMode);
|
| const CSSValue* parsed =
|
| CSSParser::parseSingleValue(CSSPropertyX, string, svgParserContext);
|
| if (!parsed || !parsed->isPrimitiveValue())
|
|
|