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

Unified Diff: ui/gfx/compositor/layer_animation_manager.cc

Issue 8341022: Fix OnLayerAnimationEnded notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698