Index: third_party/WebKit/Source/core/animation/CompositorPendingAnimations.h |
diff --git a/third_party/WebKit/Source/core/animation/CompositorPendingAnimations.h b/third_party/WebKit/Source/core/animation/CompositorPendingAnimations.h |
index 65520c232834971a4579635d496e55fb656f9824..88a03eecb2a3bb3da31f8b74276425f09d54534e 100644 |
--- a/third_party/WebKit/Source/core/animation/CompositorPendingAnimations.h |
+++ b/third_party/WebKit/Source/core/animation/CompositorPendingAnimations.h |
@@ -44,10 +44,8 @@ namespace blink { |
// For CSS Animations, used to synchronize the start of main-thread animations |
// with compositor animations when both classes of CSS Animations are triggered |
// by the same recalc |
-class CORE_EXPORT CompositorPendingAnimations final { |
- DISALLOW_NEW(); |
+class CORE_EXPORT CompositorPendingAnimations final : public GarbageCollectedFinalized<CompositorPendingAnimations> { |
public: |
- |
CompositorPendingAnimations() |
: m_timer(this, &CompositorPendingAnimations::timerFired) |
, m_compositorGroup(1) |
@@ -64,8 +62,8 @@ public: |
private: |
void timerFired(Timer<CompositorPendingAnimations>*) { update(false); } |
- PersistentHeapVectorWillBeHeapVector<Member<Animation>> m_pending; |
- PersistentHeapVectorWillBeHeapVector<Member<Animation>> m_waitingForCompositorAnimationStart; |
+ HeapVector<Member<Animation>> m_pending; |
+ HeapVector<Member<Animation>> m_waitingForCompositorAnimationStart; |
Timer<CompositorPendingAnimations> m_timer; |
int m_compositorGroup; |
}; |