Index: third_party/WebKit/Source/core/svg/SVGPathParserTest.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGPathParserTest.cpp b/third_party/WebKit/Source/core/svg/SVGPathParserTest.cpp |
index 3a27ca62b37ecc2830272683e95adc79357a8dbc..4a39b28fef930ca8e9ac5c67d7eea2f5b5f73e31 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGPathParserTest.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGPathParserTest.cpp |
@@ -17,8 +17,7 @@ bool parsePath(const char* input, String& output) |
String inputString(input); |
SVGPathStringSource source(inputString); |
SVGPathStringBuilder builder; |
- SVGPathParser parser(&source, &builder); |
- bool hadError = parser.parsePathDataFromSource(); |
+ bool hadError = SVGPathParser::parsePath(source, builder); |
output = builder.result(); |
// Coerce a null result to empty. |
if (output.isNull()) |
@@ -146,8 +145,7 @@ SVGParsingError parsePathWithError(const char* input) |
String inputString(input); |
SVGPathStringSource source(inputString); |
SVGPathStringBuilder builder; |
- SVGPathParser parser(&source, &builder); |
- parser.parsePathDataFromSource(); |
+ SVGPathParser::parsePath(source, builder); |
return source.parseError(); |
} |