| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "cc/animation/animation_player.h" | 5 #include "cc/animation/animation_player.h" |
| 6 | 6 |
| 7 #include "cc/animation/animation_delegate.h" | 7 #include "cc/animation/animation_delegate.h" |
| 8 #include "cc/animation/animation_host.h" | 8 #include "cc/animation/animation_host.h" |
| 9 #include "cc/animation/animation_timeline.h" | 9 #include "cc/animation/animation_timeline.h" |
| 10 #include "cc/animation/element_animations.h" | 10 #include "cc/animation/element_animations.h" |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 Animation::TargetProperty target_property, | 177 Animation::TargetProperty target_property, |
| 178 int group) { | 178 int group) { |
| 179 if (layer_animation_delegate_) | 179 if (layer_animation_delegate_) |
| 180 layer_animation_delegate_->NotifyAnimationFinished(monotonic_time, | 180 layer_animation_delegate_->NotifyAnimationFinished(monotonic_time, |
| 181 target_property, group); | 181 target_property, group); |
| 182 } | 182 } |
| 183 | 183 |
| 184 void AnimationPlayer::SetNeedsCommit() { | 184 void AnimationPlayer::SetNeedsCommit() { |
| 185 DCHECK(animation_host_); | 185 DCHECK(animation_host_); |
| 186 animation_host_->SetNeedsCommit(); | 186 animation_host_->SetNeedsCommit(); |
| 187 animation_host_->SetNeedsRebuildPropertyTrees(); |
| 187 } | 188 } |
| 188 | 189 |
| 189 } // namespace cc | 190 } // namespace cc |
| OLD | NEW |