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 |