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

Unified Diff: Source/core/animation/CompositorPendingAnimations.h

Issue 225073004: Oilpan: Completely move core/animations/ to oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months 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
Index: Source/core/animation/CompositorPendingAnimations.h
diff --git a/Source/core/animation/CompositorPendingAnimations.h b/Source/core/animation/CompositorPendingAnimations.h
index 124309a1fb4bdca97d6d46303fba79d7baa298dc..179c255a9176e1569dc724ce06f5e08573907c51 100644
--- a/Source/core/animation/CompositorPendingAnimations.h
+++ b/Source/core/animation/CompositorPendingAnimations.h
@@ -31,6 +31,7 @@
#ifndef CompositorPendingAnimations_h
#define CompositorPendingAnimations_h
+#include "platform/heap/Handle.h"
#include "wtf/Vector.h"
namespace WebCore {
@@ -43,6 +44,7 @@ class AnimationPlayer;
// with compositor animations when both classes of CSS Animations are triggered
// by the same recalc
class CompositorPendingAnimations FINAL {
+ DISALLOW_ALLOCATION();
public:
void add(AnimationPlayer*);
// Returns whether we are waiting for an animation to start and should
@@ -50,9 +52,11 @@ public:
bool startPendingAnimations();
void notifyCompositorAnimationStarted(double monotonicAnimationStartTime);
+ void trace(Visitor*);
+
private:
- Vector<RefPtr<AnimationPlayer> > m_pending;
- Vector<RefPtr<AnimationPlayer> > m_waitingForCompositorAnimationStart;
+ WillBeHeapVector<RefPtrWillBeMember<AnimationPlayer> > m_pending;
+ WillBeHeapVector<RefPtrWillBeMember<AnimationPlayer> > m_waitingForCompositorAnimationStart;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698