| 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 f0deca6a71d74f0e8d2e5474625f2cf4edb1933e..9eae8a0ac7306c068597abf1c5cdf57808247015 100644
|
| --- a/ui/gfx/compositor/layer_animation_sequence.cc
|
| +++ b/ui/gfx/compositor/layer_animation_sequence.cc
|
| @@ -29,7 +29,7 @@ LayerAnimationSequence::~LayerAnimationSequence() {
|
|
|
| void LayerAnimationSequence::Progress(base::TimeDelta elapsed,
|
| LayerAnimationDelegate* delegate) {
|
| - TRACE_EVENT0("LayerAnimationSequence", "Progress");
|
| + //TRACE_EVENT0("LayerAnimationSequence", "Progress");
|
| if (elements_.size() == 0 || duration_ == base::TimeDelta())
|
| return;
|
|
|
| @@ -69,6 +69,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()) {
|
|
|