Index: ui/gfx/compositor/layer_animation_sequence.cc |
=================================================================== |
--- ui/gfx/compositor/layer_animation_sequence.cc (revision 107719) |
+++ ui/gfx/compositor/layer_animation_sequence.cc (working copy) |
@@ -29,6 +29,7 @@ |
void LayerAnimationSequence::Progress(base::TimeDelta elapsed, |
LayerAnimationDelegate* delegate) { |
+ TRACE_EVENT0("LayerAnimationSequence", "Progress"); |
if (elements_.size() == 0 || duration_ == base::TimeDelta()) |
return; |
@@ -68,15 +69,6 @@ |
} |
} |
-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()) { |