Index: Source/core/svg/SVGPathByteStreamSource.h |
diff --git a/Source/core/svg/SVGPathByteStreamSource.h b/Source/core/svg/SVGPathByteStreamSource.h |
index e189df586587d9c4af77628682dbc497e49d837c..893a2bc375cd03ae721d10a39d8be04897f5f684 100644 |
--- a/Source/core/svg/SVGPathByteStreamSource.h |
+++ b/Source/core/svg/SVGPathByteStreamSource.h |
@@ -29,7 +29,11 @@ namespace blink { |
class SVGPathByteStreamSource final : public SVGPathSource { |
public: |
- explicit SVGPathByteStreamSource(const SVGPathByteStream*); |
+ explicit SVGPathByteStreamSource(const SVGPathByteStream& stream) |
+ : m_streamCurrent(stream.begin()) |
+ , m_streamEnd(stream.end()) |
+ { |
+ } |
private: |
virtual bool hasMoreData() const override; |