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

Unified Diff: Source/core/svg/SVGPathSource.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/SVGPathSegMovetoRel.h ('k') | Source/core/svg/SVGPathStringSource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSource.h
diff --git a/Source/core/svg/SVGPathSource.h b/Source/core/svg/SVGPathSource.h
index 3e493f25cbaa18eaf6ee803b4751c361a8f8cd54..4ae126d01bedd797388cb6d3867753b9dd9e1c4b 100644
--- a/Source/core/svg/SVGPathSource.h
+++ b/Source/core/svg/SVGPathSource.h
@@ -26,8 +26,8 @@ namespace blink {
class FloatPoint;
-class SVGPathSource {
- WTF_MAKE_NONCOPYABLE(SVGPathSource); WTF_MAKE_FAST_ALLOCATED;
+class SVGPathSource : public NoBaseWillBeGarbageCollectedFinalized<SVGPathSource> {
+ WTF_MAKE_NONCOPYABLE(SVGPathSource); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
SVGPathSource() { }
virtual ~SVGPathSource() { }
@@ -46,6 +46,8 @@ public:
virtual bool parseCurveToQuadraticSegment(FloatPoint&, FloatPoint&) = 0;
virtual bool parseCurveToQuadraticSmoothSegment(FloatPoint&) = 0;
virtual bool parseArcToSegment(float&, float&, float&, bool&, bool&, FloatPoint&) = 0;
+
+ virtual void trace(Visitor*) { }
};
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGPathSegMovetoRel.h ('k') | Source/core/svg/SVGPathStringSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698