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

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

Issue 1476283002: Drop PathParsingMode argument to buildStringFromByteStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove include; Drop forward decl. Created 5 years, 1 month 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/SVGPathUtilities.h ('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 e29200792cc45342dc0fc5f3d16bdb8a55fd5f2a..96e70e182a8f7a9518272c3bbe8884e617235f06 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp
@@ -51,7 +51,7 @@ bool buildPathFromByteStream(const SVGPathByteStream& stream, Path& result)
return parser.parsePathDataFromSource(NormalizedParsing);
}
-String buildStringFromByteStream(const SVGPathByteStream& stream, PathParsingMode parsingMode)
+String buildStringFromByteStream(const SVGPathByteStream& stream)
{
if (stream.isEmpty())
return String();
@@ -59,7 +59,7 @@ String buildStringFromByteStream(const SVGPathByteStream& stream, PathParsingMod
SVGPathStringBuilder builder;
SVGPathByteStreamSource source(stream);
SVGPathParser parser(&source, &builder);
- parser.parsePathDataFromSource(parsingMode);
+ parser.parsePathDataFromSource(UnalteredParsing);
return builder.result();
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPathUtilities.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698