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

Unified Diff: third_party/WebKit/Source/core/animation/CompositorAnimations.cpp

Issue 2562773002: Migrate WTF::Vector::append() to ::push_back() [part 2 of N] (Closed)
Patch Set: rebase Created 4 years 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: third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
diff --git a/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp b/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
index 964839665561e23674b631873cf98f261135148e..c3891274cc5c3929b931a1084d8e14f5547c79d6 100644
--- a/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
+++ b/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
@@ -375,7 +375,7 @@ void CompositorAnimations::startAnimationOnCompositor(
CompositorAnimationPlayer* compositorPlayer = animation.compositorPlayer();
DCHECK(compositorPlayer);
compositorPlayer->addAnimation(std::move(compositorAnimation));
- startedAnimationIds.append(id);
+ startedAnimationIds.push_back(id);
}
DCHECK(!startedAnimationIds.isEmpty());
}
@@ -617,7 +617,7 @@ void CompositorAnimations::getAnimationOnCompositor(
animation->setDirection(compositorTiming.direction);
animation->setPlaybackRate(compositorTiming.playbackRate);
animation->setFillMode(compositorTiming.fillMode);
- animations.append(std::move(animation));
+ animations.push_back(std::move(animation));
}
DCHECK(!animations.isEmpty());
}

Powered by Google App Engine
This is Rietveld 408576698