diff options
Diffstat (limited to 'WebCore/svg/SVGPathSegListSource.h')
-rw-r--r-- | WebCore/svg/SVGPathSegListSource.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/svg/SVGPathSegListSource.h b/WebCore/svg/SVGPathSegListSource.h index 4f93be1..357248f 100644 --- a/WebCore/svg/SVGPathSegListSource.h +++ b/WebCore/svg/SVGPathSegListSource.h @@ -32,13 +32,13 @@ namespace WebCore { class SVGPathSegListSource : public SVGPathSource { public: - static PassOwnPtr<SVGPathSegListSource> create(SVGPathSegList* pathSegList) + static PassOwnPtr<SVGPathSegListSource> create(const SVGPathSegList& pathSegList) { return adoptPtr(new SVGPathSegListSource(pathSegList)); } private: - SVGPathSegListSource(SVGPathSegList*); + SVGPathSegListSource(const SVGPathSegList&); virtual bool hasMoreData() const; virtual bool moveToNextToken() { return true; } @@ -55,7 +55,7 @@ private: virtual bool parseCurveToQuadraticSmoothSegment(FloatPoint&); virtual bool parseArcToSegment(float&, float&, float&, bool&, bool&, FloatPoint&); - SVGPathSegList* m_pathSegList; + const SVGPathSegList& m_pathSegList; RefPtr<SVGPathSeg> m_segment; int m_itemCurrent; int m_itemEnd; |