| Index: ui/gfx/compositor/layer_animation_sequence.cc
|
| diff --git a/ui/gfx/compositor/layer_animation_sequence.cc b/ui/gfx/compositor/layer_animation_sequence.cc
|
| index c0e303771718ae6659cc6518f0f764f8a35d13cc..cafe819ceee06c342453e79d636377ce1d60865d 100644
|
| --- a/ui/gfx/compositor/layer_animation_sequence.cc
|
| +++ b/ui/gfx/compositor/layer_animation_sequence.cc
|
| @@ -68,6 +68,15 @@ void LayerAnimationSequence::Progress(base::TimeDelta elapsed,
|
| }
|
| }
|
|
|
| +void LayerAnimationSequence::GetTargetValue(
|
| + LayerAnimationElement::TargetValue* target) const {
|
| + if (is_cyclic_)
|
| + return;
|
| +
|
| + for (size_t i = last_element_; i < elements_.size(); ++i)
|
| + elements_[i]->GetTargetValue(target);
|
| +}
|
| +
|
| void LayerAnimationSequence::Abort() {
|
| size_t current_index = last_element_ % elements_.size();
|
| while (current_index < elements_.size()) {
|
|
|