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

Unified Diff: ui/compositor/layer_animator.cc

Issue 1921583003: CC Animation: Let MutatorHostClient deals with elements instead of layers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@elementid
Patch Set: Rename methods in ElementAnimations Created 4 years, 8 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/trees/mutator_host_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_animator.cc
diff --git a/ui/compositor/layer_animator.cc b/ui/compositor/layer_animator.cc
index 5df5949b2bd4f264c5b38b72c6b5b0e310dcc081..1defb3f8f06ef3c5cbeee748fd05be64061fa8f3 100644
--- a/ui/compositor/layer_animator.cc
+++ b/ui/compositor/layer_animator.cc
@@ -182,7 +182,7 @@ void LayerAnimator::ResetCompositor(Compositor* compositor) {
// so it may be picked up in LayerAnimator::SetCompositor.
if (layer_id) {
element_animations_state_ =
- timeline->animation_host()->GetElementAnimationsForLayerId(layer_id);
+ timeline->animation_host()->GetElementAnimationsForElementId(layer_id);
}
DetachLayerFromAnimationPlayer();
« no previous file with comments | « cc/trees/mutator_host_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698