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

Unified Diff: cc/test/animation_timelines_test_common.cc

Issue 1922833002: CC Animation: Start replacing int layer_id with ElementId element_id. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « cc/test/animation_timelines_test_common.h ('k') | cc/trees/mutator_host_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 70f608286ae2411d1f5d28394392c7906ecb02c4..f0ad7ae958f75c961c6863147d21320d8915e5db 100644
--- a/cc/test/animation_timelines_test_common.cc
+++ b/cc/test/animation_timelines_test_common.cc
@@ -295,7 +295,7 @@ AnimationTimelinesTest::AnimationTimelinesTest()
host_ = client_.host();
host_impl_ = client_impl_.host();
- layer_id_ = NextTestLayerId();
+ element_id_ = NextTestLayerId();
}
AnimationTimelinesTest::~AnimationTimelinesTest() {
@@ -323,18 +323,18 @@ void AnimationTimelinesTest::CreateTestLayer(
}
void AnimationTimelinesTest::CreateTestMainLayer() {
- client_.RegisterLayer(layer_id_, LayerTreeType::ACTIVE);
+ client_.RegisterLayer(element_id_, LayerTreeType::ACTIVE);
}
void AnimationTimelinesTest::CreateTestImplLayer(
LayerTreeType layer_tree_type) {
- client_impl_.RegisterLayer(layer_id_, layer_tree_type);
+ client_impl_.RegisterLayer(element_id_, layer_tree_type);
}
void AnimationTimelinesTest::AttachTimelinePlayerLayer() {
host_->AddAnimationTimeline(timeline_);
timeline_->AttachPlayer(player_);
- player_->AttachLayer(layer_id_);
+ player_->AttachLayer(element_id_);
}
void AnimationTimelinesTest::CreateImplTimelineAndPlayer() {
« no previous file with comments | « cc/test/animation_timelines_test_common.h ('k') | cc/trees/mutator_host_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698