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

Unified Diff: cc/animation/animation_registrar.cc

Issue 1734063003: Share animations from compositor to main thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win trybot failure Created 4 years, 10 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 | « cc/animation/animation_player.cc ('k') | cc/animation/element_animations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_registrar.cc
diff --git a/cc/animation/animation_registrar.cc b/cc/animation/animation_registrar.cc
index e5ecf838296ff51071278de068e241a4b6d0a3ac..e498045b56d4d2f3485f5a4b95ee63e93978d0fa 100644
--- a/cc/animation/animation_registrar.cc
+++ b/cc/animation/animation_registrar.cc
@@ -132,6 +132,10 @@ void AnimationRegistrar::SetAnimationEvents(
(*iter).second->NotifyAnimationPropertyUpdate(
events->events_[event_index]);
break;
+
+ case AnimationEvent::TAKEOVER:
+ (*iter).second->NotifyAnimationTakeover(events->events_[event_index]);
+ break;
}
}
}
« no previous file with comments | « cc/animation/animation_player.cc ('k') | cc/animation/element_animations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698