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

Unified Diff: cc/animation/animation_player.cc

Issue 2340923003: CC Animation: Rework iterations over players to use the range-based for loop. (Closed)
Patch Set: Rebase. Created 4 years, 2 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 | cc/animation/element_animations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_player.cc
diff --git a/cc/animation/animation_player.cc b/cc/animation/animation_player.cc
index 4749eecee0737038a94979478fda5c2d3f3e642a..9edb27111f92c30d5bae87b3740e9e62a87a8429 100644
--- a/cc/animation/animation_player.cc
+++ b/cc/animation/animation_player.cc
@@ -1035,8 +1035,8 @@ void AnimationPlayer::PurgeAnimationsMarkedForDeletion() {
void AnimationPlayer::PushNewAnimationsToImplThread(
AnimationPlayer* animation_player_impl) const {
- // Any new animations owned by the main thread's ElementAnimations are cloned
- // and added to the impl thread's ElementAnimations.
+ // Any new animations owned by the main thread's AnimationPlayer are cloned
+ // and added to the impl thread's AnimationPlayer.
for (size_t i = 0; i < animations_.size(); ++i) {
// If the animation is already running on the impl thread, there is no
// need to copy it over.
« no previous file with comments | « no previous file | cc/animation/element_animations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698