diff options
Diffstat (limited to 'cc/layers/layer_unittest.cc')
-rw-r--r-- | cc/layers/layer_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/layers/layer_unittest.cc b/cc/layers/layer_unittest.cc index 16893a1..61d9333 100644 --- a/cc/layers/layer_unittest.cc +++ b/cc/layers/layer_unittest.cc @@ -1173,7 +1173,7 @@ TEST_F(LayerLayerTreeHostTest, ShouldNotAddAnimationWithoutAnimationRegistrar) { EXPECT_FALSE(AddTestAnimation(layer.get())); scoped_ptr<AnimationRegistrar> registrar = AnimationRegistrar::Create(); - layer->layer_animation_controller()->SetAnimationRegistrar(registrar.get()); + layer->RegisterForAnimations(registrar.get()); // Case 2: with an AnimationRegistrar, the animation should be accepted. EXPECT_TRUE(AddTestAnimation(layer.get())); |