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

Unified Diff: third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp

Issue 2617783002: Migrate WTF::Vector::append() to ::push_back() [part 12 of N] (Closed)
Patch Set: rebase Created 3 years, 11 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: third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp
diff --git a/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp b/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp
index 66231b431f886aeb28c507653629770b04321e13..a9b1b9a0bf1f4dcc09ba8c003f05edb88dc3333b 100644
--- a/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp
+++ b/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp
@@ -461,7 +461,7 @@ SMILTime SMILTimeContainer::updateAnimations(double elapsed, bool seekToTime) {
// This will calculate the contribution from the animation and update
// timing.
if (animation->progress(elapsed, seekToTime)) {
- sandwich.append(animation);
+ sandwich.push_back(animation);
} else {
animation->clearAnimatedType();
}
@@ -485,7 +485,7 @@ SMILTime SMILTimeContainer::updateAnimations(double elapsed, bool seekToTime) {
for (const auto& animation : sandwich)
animation->updateAnimatedValue(resultElement);
- animationsToApply.append(resultElement);
+ animationsToApply.push_back(resultElement);
}
}
m_scheduledAnimations.removeAll(invalidKeys);

Powered by Google App Engine
This is Rietveld 408576698