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

Unified Diff: cc/test/animation_timelines_test_common.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/test/animation_timelines_test_common.cc
diff --git a/cc/test/animation_timelines_test_common.cc b/cc/test/animation_timelines_test_common.cc
index dd039a47a66388a93c81d0db6d79b60f8eac49d5..f288cd646bfe9d4cc16a9417e5ce7c2aa4f67f0c 100644
--- a/cc/test/animation_timelines_test_common.cc
+++ b/cc/test/animation_timelines_test_common.cc
@@ -351,11 +351,12 @@ AnimationTimelinesTest::AnimationTimelinesTest()
host_impl_(nullptr),
timeline_id_(AnimationIdProvider::NextTimelineId()),
player_id_(AnimationIdProvider::NextPlayerId()),
+ element_id_(kInvalidElementId),
next_test_layer_id_(0) {
host_ = client_.host();
host_impl_ = client_impl_.host();
- element_id_ = ElementId(NextTestLayerId(), 0);
+ element_id_ = ElementId(NextTestLayerId());
}
AnimationTimelinesTest::~AnimationTimelinesTest() {

Powered by Google App Engine
This is Rietveld 408576698