| 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;
|
|
|