Index: ui/compositor/layer_animation_element.cc |
diff --git a/ui/compositor/layer_animation_element.cc b/ui/compositor/layer_animation_element.cc |
index 1234a04160fd5b11ddc62f835fd262d8e2f1dfc8..f70c1084a1db9e134227c54e7a883c83fc2e6433 100644 |
--- a/ui/compositor/layer_animation_element.cc |
+++ b/ui/compositor/layer_animation_element.cc |
@@ -517,7 +517,7 @@ class ThreadedTransformTransition : public ThreadedLayerAnimationElement { |
} |
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()), |