Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1591)

Unified Diff: Source/core/svg/SVGPathByteStreamSource.h

Issue 734053005: Remove globalSVGPath* from SVGPathUtilities.cpp (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698