Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(636)

Unified Diff: ui/compositor/layer_animation_element.cc

Issue 18786006: Merge 210753 "Make ui::ThreadedTransformTransition::OnAbort corr..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1547/src/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/compositor/layer_animation_element_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()),
« no previous file with comments | « no previous file | ui/compositor/layer_animation_element_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698