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

Unified Diff: cc/animation/animation_host_perftest.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_host_perftest.cc
diff --git a/cc/animation/animation_host_perftest.cc b/cc/animation/animation_host_perftest.cc
index 4da56d006490fdaf02502b7eaad583a205f1a658..116567ba16ba6af4e1b4e6889530716e20d9727d 100644
--- a/cc/animation/animation_host_perftest.cc
+++ b/cc/animation/animation_host_perftest.cc
@@ -67,7 +67,9 @@ class AnimationHostPerfTest : public testing::Test {
for (int i = 0; i < num_players; ++i) {
scoped_refptr<Layer> layer = Layer::Create();
root_layer_->AddChild(layer);
- layer->SetElementId(LayerIdToElementIdForTesting(layer->id()));
+ ElementId element_id;
+ element_id.id = layer->id();
+ layer->SetElementId(element_id);
scoped_refptr<AnimationPlayer> player =
AnimationPlayer::Create(last_player_id_);

Powered by Google App Engine
This is Rietveld 408576698