Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(966)

Unified Diff: third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp

Issue 1630823004: [SVG] Remove PathParsingMode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPathParserTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp b/third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp
index 259bf0e922ce376c1fa41625dfd002d0da580ea9..1fde0eb9ecc63e5904b810b67c911b40f5801b11 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp
@@ -36,7 +36,7 @@ bool buildPathFromString(const String& d, Path& result)
SVGPathBuilder builder(result);
SVGPathStringSource source(d);
SVGPathParser parser(&source, &builder);
- return parser.parsePathDataFromSource(UnalteredParsing);
+ return parser.parsePathDataFromSource();
}
bool buildPathFromByteStream(const SVGPathByteStream& stream, Path& result)
@@ -47,7 +47,7 @@ bool buildPathFromByteStream(const SVGPathByteStream& stream, Path& result)
SVGPathBuilder builder(result);
SVGPathByteStreamSource source(stream);
SVGPathParser parser(&source, &builder);
- return parser.parsePathDataFromSource(UnalteredParsing);
+ return parser.parsePathDataFromSource();
}
String buildStringFromByteStream(const SVGPathByteStream& stream)
@@ -58,7 +58,7 @@ String buildStringFromByteStream(const SVGPathByteStream& stream)
SVGPathStringBuilder builder;
SVGPathByteStreamSource source(stream);
SVGPathParser parser(&source, &builder);
- parser.parsePathDataFromSource(UnalteredParsing);
+ parser.parsePathDataFromSource();
return builder.result();
}
@@ -74,7 +74,7 @@ bool buildByteStreamFromString(const String& d, SVGPathByteStream& result)
SVGPathByteStreamBuilder builder(result);
SVGPathStringSource source(d);
SVGPathParser parser(&source, &builder);
- bool ok = parser.parsePathDataFromSource(UnalteredParsing);
+ bool ok = parser.parsePathDataFromSource();
result.shrinkToFit();
return ok;
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPathParserTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698