Index: ui/gfx/compositor/layer_animation_manager.cc |
diff --git a/ui/gfx/compositor/layer_animation_manager.cc b/ui/gfx/compositor/layer_animation_manager.cc |
index 0301ba4ce1a5cf86c9ec69273f0f12997b27d3e9..b900cd037a439aef3a1528fc22238a6c62cb8350 100644 |
--- a/ui/gfx/compositor/layer_animation_manager.cc |
+++ b/ui/gfx/compositor/layer_animation_manager.cc |
@@ -171,6 +171,8 @@ void LayerAnimationManager::AnimationProgressed( |
void LayerAnimationManager::AnimationEnded(const ui::Animation* animation) { |
AnimationProgressed(animation); |
+ if (layer_->delegate()) |
+ layer_->delegate()->OnLayerAnimationEnded(animation); |
} |
void LayerAnimationManager::StopAnimating(AnimationProperty property) { |