Index: Source/core/svg/SVGPathSegListSource.h |
diff --git a/Source/core/svg/SVGPathSegListSource.h b/Source/core/svg/SVGPathSegListSource.h |
index adef56c5a34d746bd50b645ba36f573b469a915f..7bbb41a2f52ea9593bc215561e6457cafab7f1e7 100644 |
--- a/Source/core/svg/SVGPathSegListSource.h |
+++ b/Source/core/svg/SVGPathSegListSource.h |
@@ -23,10 +23,6 @@ |
#include "core/svg/SVGPathSeg.h" |
#include "core/svg/SVGPathSegList.h" |
#include "core/svg/SVGPathSource.h" |
-#include "platform/geometry/FloatPoint.h" |
-#include "platform/heap/Handle.h" |
-#include "wtf/PassOwnPtr.h" |
-#include "wtf/RefPtr.h" |
namespace blink { |
@@ -34,25 +30,11 @@ class SVGPathSegListSource final : public SVGPathSource { |
public: |
SVGPathSegListSource(SVGPathSegList::ConstIterator, SVGPathSegList::ConstIterator); |
- DECLARE_VIRTUAL_TRACE(); |
- |
private: |
virtual bool hasMoreData() const override; |
- virtual bool moveToNextToken() override { return true; } |
- virtual bool parseSVGSegmentType(SVGPathSegType&) override; |
- virtual SVGPathSegType nextCommand(SVGPathSegType) override; |
- |
- virtual bool parseMoveToSegment(FloatPoint&) override; |
- virtual bool parseLineToSegment(FloatPoint&) override; |
- virtual bool parseLineToHorizontalSegment(float&) override; |
- virtual bool parseLineToVerticalSegment(float&) override; |
- virtual bool parseCurveToCubicSegment(FloatPoint&, FloatPoint&, FloatPoint&) override; |
- virtual bool parseCurveToCubicSmoothSegment(FloatPoint&, FloatPoint&) override; |
- virtual bool parseCurveToQuadraticSegment(FloatPoint&, FloatPoint&) override; |
- virtual bool parseCurveToQuadraticSmoothSegment(FloatPoint&) override; |
- virtual bool parseArcToSegment(float&, float&, float&, bool&, bool&, FloatPoint&) override; |
- |
- RefPtrWillBeMember<SVGPathSeg> m_segment; |
+ virtual SVGPathSegType peekSegmentType() override; |
+ virtual PathSegmentData parseSegment() override; |
+ |
SVGPathSegList::ConstIterator m_itCurrent; |
SVGPathSegList::ConstIterator m_itEnd; |
}; |