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

Unified Diff: ui/compositor/layer_animator.cc

Issue 2860293002: Change cc::ElementId to be a uint64_t (Closed)
Patch Set: Merge branch 'master' into secondaryid Created 3 years, 7 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 | « ui/compositor/layer.cc ('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 c58be9c599e9f48262939156614b1ac2b5b35350..851d0204a31971a436cd3bcf681719024b2656bb 100644
--- a/ui/compositor/layer_animator.cc
+++ b/ui/compositor/layer_animator.cc
@@ -166,7 +166,7 @@ void LayerAnimator::DetachLayerAndTimeline(Compositor* compositor) {
void LayerAnimator::AttachLayerToAnimationPlayer(int layer_id) {
// For ui, layer and element ids are equivalent.
- cc::ElementId element_id(layer_id, 0);
+ cc::ElementId element_id(layer_id);
if (!animation_player_->element_id())
animation_player_->AttachElement(element_id);
else
« no previous file with comments | « ui/compositor/layer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698