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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPathParser.h

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.h
diff --git a/third_party/WebKit/Source/core/svg/SVGPathParser.h b/third_party/WebKit/Source/core/svg/SVGPathParser.h
index f5f78d24135ae410a7adecab2d0caae074ed915b..927458639ab95c2818bcab6a2e88531e95b0c4b0 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathParser.h
+++ b/third_party/WebKit/Source/core/svg/SVGPathParser.h
@@ -30,11 +30,6 @@
namespace blink {
-enum PathParsingMode {
- NormalizedParsing,
- UnalteredParsing
-};
-
class SVGPathConsumer;
class SVGPathSource;
@@ -50,21 +45,18 @@ public:
ASSERT(m_consumer);
}
- bool parsePathDataFromSource(PathParsingMode pathParsingMode, bool checkForInitialMoveTo = true)
+ bool parsePathDataFromSource(bool checkForInitialMoveTo = true)
{
ASSERT(m_source);
ASSERT(m_consumer);
if (checkForInitialMoveTo && !initialCommandIsMoveTo())
return false;
- if (pathParsingMode == NormalizedParsing)
- return parseAndNormalizePath();
return parsePath();
}
private:
bool initialCommandIsMoveTo();
bool parsePath();
- bool parseAndNormalizePath();
SVGPathSource* m_source;
SVGPathConsumer* m_consumer;

Powered by Google App Engine
This is Rietveld 408576698