| Index: Source/core/svg/SVGPathByteStreamBuilder.h
|
| diff --git a/Source/core/svg/SVGPathByteStreamBuilder.h b/Source/core/svg/SVGPathByteStreamBuilder.h
|
| index ae53bcc0904b470920e9a305860a115b9d4a8815..2b3eb09824c25c71154ebb6ff36ffe513c5d5c63 100644
|
| --- a/Source/core/svg/SVGPathByteStreamBuilder.h
|
| +++ b/Source/core/svg/SVGPathByteStreamBuilder.h
|
| @@ -30,14 +30,11 @@ namespace blink {
|
|
|
| class SVGPathByteStreamBuilder final : public SVGPathConsumer {
|
| public:
|
| - SVGPathByteStreamBuilder();
|
| -
|
| - void setCurrentByteStream(SVGPathByteStream* byteStream) { m_byteStream = byteStream; }
|
| + SVGPathByteStreamBuilder(SVGPathByteStream&);
|
|
|
| private:
|
| virtual void incrementPathSegmentCount() override { }
|
| virtual bool continueConsuming() override { return true; }
|
| - virtual void cleanup() override { m_byteStream = 0; }
|
|
|
| // Used in UnalteredParsing/NormalizedParsing modes.
|
| virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode) override;
|
| @@ -53,7 +50,7 @@ private:
|
| virtual void curveToQuadraticSmooth(const FloatPoint&, PathCoordinateMode) override;
|
| virtual void arcTo(float, float, float, bool largeArcFlag, bool sweepFlag, const FloatPoint&, PathCoordinateMode) override;
|
|
|
| - SVGPathByteStream* m_byteStream;
|
| + SVGPathByteStream& m_byteStream;
|
| };
|
|
|
| } // namespace blink
|
|
|