Index: Source/core/svg/SVGPathBuilder.h |
diff --git a/Source/core/svg/SVGPathBuilder.h b/Source/core/svg/SVGPathBuilder.h |
index 6bc6ffce0bf8ee2ec117302c0f5834663c7bcf69..8427d42c8d64ab75b69c434001ee4f04935ed425 100644 |
--- a/Source/core/svg/SVGPathBuilder.h |
+++ b/Source/core/svg/SVGPathBuilder.h |
@@ -33,14 +33,14 @@ class Path; |
class SVGPathBuilder final : public SVGPathConsumer { |
public: |
- SVGPathBuilder(Path& path) : m_path(path) { } |
+ SVGPathBuilder(Path& path) : m_path(path), m_closed(true) { } |
private: |
virtual void incrementPathSegmentCount() override { } |
virtual bool continueConsuming() override { return true; } |
// Used in UnalteredParsing/NormalizedParsing modes. |
- virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode) override; |
+ virtual void moveTo(const FloatPoint&, PathCoordinateMode) override; |
virtual void lineTo(const FloatPoint&, PathCoordinateMode) override; |
virtual void curveToCubic(const FloatPoint&, const FloatPoint&, const FloatPoint&, PathCoordinateMode) override; |
virtual void closePath() override; |
@@ -54,6 +54,7 @@ private: |
virtual void arcTo(float, float, float, bool, bool, const FloatPoint&, PathCoordinateMode) override { ASSERT_NOT_REACHED(); } |
Path& m_path; |
+ bool m_closed; |
}; |
} // namespace blink |