Index: cc/animation/animation_host_unittest.cc |
diff --git a/cc/animation/animation_host_unittest.cc b/cc/animation/animation_host_unittest.cc |
index 7b5f660b57b6475e2a6283b757e62950296c711d..aa477bfeb70e138e90907195185cb1a934ff393d 100644 |
--- a/cc/animation/animation_host_unittest.cc |
+++ b/cc/animation/animation_host_unittest.cc |
@@ -81,8 +81,8 @@ TEST_F(AnimationHostTest, ImplOnlyTimeline) { |
} |
TEST_F(AnimationHostTest, ImplOnlyScrollAnimationUpdateTargetIfDetached) { |
- client_.RegisterLayer(element_id_, LayerTreeType::ACTIVE); |
- client_impl_.RegisterLayer(element_id_, LayerTreeType::PENDING); |
+ client_.RegisterElement(element_id_, ElementListType::ACTIVE); |
+ client_impl_.RegisterElement(element_id_, ElementListType::PENDING); |
gfx::ScrollOffset target_offset(0., 2.); |
gfx::ScrollOffset current_offset(0., 1.); |