Index: Source/core/animation/InterpolationEffect.h |
diff --git a/Source/core/animation/InterpolationEffect.h b/Source/core/animation/InterpolationEffect.h |
index ec7e70ae625dac0e4ac850bf7c68c8fd621bb2e8..4c7c2b759e8f437633c29224a94469855e4493fa 100644 |
--- a/Source/core/animation/InterpolationEffect.h |
+++ b/Source/core/animation/InterpolationEffect.h |
@@ -12,9 +12,9 @@ |
namespace WebCore { |
-class InterpolationEffect : public RefCounted<InterpolationEffect> { |
+class InterpolationEffect : public RefCountedWillBeGarbageCollected<InterpolationEffect> { |
public: |
- static PassRefPtr<InterpolationEffect> create() { return adoptRef(new InterpolationEffect()); } |
+ static PassRefPtrWillBeRawPtr<InterpolationEffect> create() { return adoptRefWillBeNoop(new InterpolationEffect()); } |
PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > getActiveInterpolations(double fraction, double iterationDuration) const; |
@@ -23,6 +23,8 @@ public: |
m_interpolations.append(InterpolationRecord::create(interpolation, easing, start, end, applyFrom, applyTo)); |
} |
+ void trace(Visitor*); |
+ |
private: |
InterpolationEffect() |
{ |
@@ -56,7 +58,7 @@ private: |
} |
}; |
- WillBePersistentHeapVector<OwnPtrWillBeMember<InterpolationRecord> > m_interpolations; |
+ WillBeHeapVector<OwnPtrWillBeMember<InterpolationRecord> > m_interpolations; |
}; |
} |