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

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

Issue 1120003002: [Oilpan] Migrate most classes under core/animations to Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 4 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.cpp
diff --git a/Source/core/animation/CompositorPendingAnimations.cpp b/Source/core/animation/CompositorPendingAnimations.cpp
index 896f13bdb8665857c46e51b11858b51c54395875..14d52605b848a5f1e1ad26a69bffb8594cf78577 100644
--- a/Source/core/animation/CompositorPendingAnimations.cpp
+++ b/Source/core/animation/CompositorPendingAnimations.cpp
@@ -58,10 +58,10 @@ void CompositorPendingAnimations::add(Animation* animation)
bool CompositorPendingAnimations::update(bool startOnCompositor)
{
- WillBeHeapVector<RawPtrWillBeMember<Animation>> waitingForStartTime;
+ HeapVector<Member<Animation>> waitingForStartTime;
bool startedSynchronizedOnCompositor = false;
- WillBeHeapVector<RefPtrWillBeMember<Animation>> animations;
+ HeapVector<Member<Animation>> animations;
animations.swap(m_pending);
int compositorGroup = ++m_compositorGroup;
if (compositorGroup == 0) {
@@ -126,7 +126,7 @@ bool CompositorPendingAnimations::update(bool startOnCompositor)
void CompositorPendingAnimations::notifyCompositorAnimationStarted(double monotonicAnimationStartTime, int compositorGroup)
{
TRACE_EVENT0("blink", "CompositorPendingAnimations::notifyCompositorAnimationStarted");
- WillBeHeapVector<RefPtrWillBeMember<Animation>> animations;
+ HeapVector<Member<Animation>> animations;
animations.swap(m_waitingForCompositorAnimationStart);
for (auto animation : animations) {
« no previous file with comments | « Source/core/animation/CompositorPendingAnimations.h ('k') | Source/core/animation/ConstantStyleInterpolation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698