Index: Source/core/svg/SVGPathBlender.h |
diff --git a/Source/core/svg/SVGPathBlender.h b/Source/core/svg/SVGPathBlender.h |
index 3490a246440170d503b2ab8a5932c90bc87895ab..414e9f5f56bd74d7ed929d9d618a7edc9331aba3 100644 |
--- a/Source/core/svg/SVGPathBlender.h |
+++ b/Source/core/svg/SVGPathBlender.h |
@@ -21,6 +21,7 @@ |
#define SVGPathBlender_h |
#include "core/svg/SVGPathConsumer.h" |
+#include "platform/heap/Handle.h" |
namespace blink { |
@@ -31,8 +32,8 @@ enum FloatBlendMode { |
class SVGPathSource; |
-class SVGPathBlender { |
- WTF_MAKE_NONCOPYABLE(SVGPathBlender); WTF_MAKE_FAST_ALLOCATED; |
+class SVGPathBlender : public NoBaseWillBeGarbageCollectedFinalized<SVGPathBlender> { |
+ WTF_MAKE_NONCOPYABLE(SVGPathBlender); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
public: |
SVGPathBlender(); |
@@ -40,6 +41,8 @@ public: |
bool blendAnimatedPath(float, SVGPathSource*, SVGPathSource*, SVGPathConsumer*); |
void cleanup(); |
+ void trace(Visitor*); |
+ |
private: |
bool blendMoveToSegment(); |
bool blendLineToSegment(); |
@@ -54,9 +57,9 @@ private: |
float blendAnimatedDimensonalFloat(float, float, FloatBlendMode); |
FloatPoint blendAnimatedFloatPoint(const FloatPoint& from, const FloatPoint& to); |
- SVGPathSource* m_fromSource; |
- SVGPathSource* m_toSource; |
- SVGPathConsumer* m_consumer; |
+ RawPtrWillBeMember<SVGPathSource> m_fromSource; |
+ RawPtrWillBeMember<SVGPathSource> m_toSource; |
+ RawPtrWillBeMember<SVGPathConsumer> m_consumer; |
FloatPoint m_fromCurrentPoint; |
FloatPoint m_toCurrentPoint; |