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

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

Issue 1832773002: Move CompositorPendingAnimations to Oilpan's heap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698