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

Unified Diff: cc/animation/animation_player_unittest.cc

Issue 2860293002: Change cc::ElementId to be a uint64_t (Closed)
Patch Set: none 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
Index: cc/animation/animation_player_unittest.cc
diff --git a/cc/animation/animation_player_unittest.cc b/cc/animation/animation_player_unittest.cc
index d896f21340238e226056295905f64f96b776a3fe..8c731ecb9dd8436ec5a8f827aa507035698c908f 100644
--- a/cc/animation/animation_player_unittest.cc
+++ b/cc/animation/animation_player_unittest.cc
@@ -394,7 +394,8 @@ TEST_F(AnimationPlayerTest, SwitchToLayer) {
EXPECT_EQ(player_impl_->element_id(), element_id_);
EXPECT_TRUE(CheckPlayerTimelineNeedsPushProperties(false));
- const ElementId new_element_id(NextTestLayerId(), 0);
+ ElementId new_element_id;
+ new_element_id.id = NextTestLayerId();
player_->DetachElement();
player_->AttachElement(new_element_id);

Powered by Google App Engine
This is Rietveld 408576698