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

Unified Diff: cc/animation/animation_host_perftest.cc

Issue 1944623002: CC Animation: Use ElementId to attach CC animation players. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@erasedomids
Patch Set: 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
Index: cc/animation/animation_host_perftest.cc
diff --git a/cc/animation/animation_host_perftest.cc b/cc/animation/animation_host_perftest.cc
index 5003533d9bb06db0e2bca7b3be9d9250af110f29..71906d7b82e2b16cf1dde6bb20ffd382083a1990 100644
--- a/cc/animation/animation_host_perftest.cc
+++ b/cc/animation/animation_host_perftest.cc
@@ -68,7 +68,7 @@ class AnimationHostPerfTest : public testing::Test {
last_player_id = AnimationIdProvider::NextPlayerId();
timeline->AttachPlayer(player);
- player->AttachElement(layer->id());
+ player->AttachElement2(layer->id());
EXPECT_TRUE(player->element_animations());
}

Powered by Google App Engine
This is Rietveld 408576698