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

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

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 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
« no previous file with comments | « Source/core/svg/SVGPathSegListBuilder.cpp ('k') | Source/core/svg/SVGPathSegListSource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegListSource.h
diff --git a/Source/core/svg/SVGPathSegListSource.h b/Source/core/svg/SVGPathSegListSource.h
index 0fb6492697fa9164e59f9a2cc6d59af11a874c1a..6935ea417b326d5ea5418fdaa4b1ef6e89e6d38a 100644
--- a/Source/core/svg/SVGPathSegListSource.h
+++ b/Source/core/svg/SVGPathSegListSource.h
@@ -24,6 +24,7 @@
#include "core/svg/SVGPathSegList.h"
#include "core/svg/SVGPathSource.h"
#include "platform/geometry/FloatPoint.h"
+#include "platform/heap/Handle.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/RefPtr.h"
@@ -33,6 +34,8 @@ class SVGPathSegListSource final : public SVGPathSource {
public:
SVGPathSegListSource(SVGPathSegList::ConstIterator, SVGPathSegList::ConstIterator);
+ virtual void trace(Visitor*) override;
+
private:
virtual bool hasMoreData() const override;
virtual bool moveToNextToken() override { return true; }
@@ -49,7 +52,7 @@ private:
virtual bool parseCurveToQuadraticSmoothSegment(FloatPoint&) override;
virtual bool parseArcToSegment(float&, float&, float&, bool&, bool&, FloatPoint&) override;
- RefPtr<SVGPathSeg> m_segment;
+ RefPtrWillBeMember<SVGPathSeg> m_segment;
SVGPathSegList::ConstIterator m_itCurrent;
SVGPathSegList::ConstIterator m_itEnd;
};
« no previous file with comments | « Source/core/svg/SVGPathSegListBuilder.cpp ('k') | Source/core/svg/SVGPathSegListSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698