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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h

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/css/CSSAnimationUpdate.h
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h b/third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h
index ca0d6e50b60aeed286c93dd03bc9b9d5f00e8329..64dfd2adcf0e50e0069a31562da0ae7f9be15d44 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h
@@ -134,7 +134,7 @@ class CSSAnimationUpdate final {
const InertEffect& effect,
const Timing& timing,
StyleRuleKeyframes* styleRule) {
- m_newAnimations.append(
+ m_newAnimations.push_back(
NewCSSAnimation(animationName, nameIndex, effect, timing, styleRule));
}
// Returns whether animation has been suppressed and should be filtered during
@@ -143,23 +143,23 @@ class CSSAnimationUpdate final {
return m_suppressedAnimations.contains(animation);
}
void cancelAnimation(size_t index, const Animation& animation) {
- m_cancelledAnimationIndices.append(index);
+ m_cancelledAnimationIndices.push_back(index);
m_suppressedAnimations.add(&animation);
}
void toggleAnimationIndexPaused(size_t index) {
- m_animationIndicesWithPauseToggled.append(index);
+ m_animationIndicesWithPauseToggled.push_back(index);
}
void updateAnimation(size_t index,
Animation* animation,
const InertEffect& effect,
const Timing& specifiedTiming,
StyleRuleKeyframes* styleRule) {
- m_animationsWithUpdates.append(UpdatedCSSAnimation(
+ m_animationsWithUpdates.push_back(UpdatedCSSAnimation(
index, animation, effect, specifiedTiming, styleRule));
m_suppressedAnimations.add(animation);
}
void updateCompositorKeyframes(Animation* animation) {
- m_updatedCompositorKeyframes.append(animation);
+ m_updatedCompositorKeyframes.push_back(animation);
}
void startTransition(CSSPropertyID id,

Powered by Google App Engine
This is Rietveld 408576698