Index: ui/compositor/layer_animation_element.cc |
=================================================================== |
--- ui/compositor/layer_animation_element.cc (revision 211166) |
+++ ui/compositor/layer_animation_element.cc (working copy) |
@@ -517,7 +517,7 @@ |
} |
virtual void OnAbort(LayerAnimationDelegate* delegate) OVERRIDE { |
- if (delegate && animation_id()) { |
+ if (delegate && Started()) { |
ThreadedLayerAnimationElement::OnAbort(delegate); |
delegate->SetTransformFromAnimation(Tween::ValueBetween( |
Tween::CalculateValue(tween_type(), last_progressed_fraction()), |