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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPathParser.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
Index: third_party/WebKit/Source/core/svg/SVGPathParser.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGPathParser.cpp b/third_party/WebKit/Source/core/svg/SVGPathParser.cpp
index e688918fac4dcde470911d9eb46163c11d353747..7a1b5c3b6662fb33a228ef02a60fa209fe1386f7 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathParser.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGPathParser.cpp
@@ -297,18 +297,4 @@ bool SVGPathNormalizer::decomposeArcToCubic(const FloatPoint& currentPoint, cons
return true;
}
-bool SVGPathParser::parseAndNormalizePath()
-{
- SVGPathNormalizer normalizer(m_consumer);
-
- while (m_source->hasMoreData()) {
- PathSegmentData segment = m_source->parseSegment();
- if (segment.command == PathSegUnknown)
- return false;
-
- normalizer.emitSegment(segment);
- }
- return true;
-}
-
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPathParser.h ('k') | third_party/WebKit/Source/core/svg/SVGPathParserTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698