| Index: cc/animation/layer_animation_controller_unittest.cc
|
| diff --git a/cc/animation/layer_animation_controller_unittest.cc b/cc/animation/layer_animation_controller_unittest.cc
|
| index cbea341d4d07d92f3006e23f429390faec2cfc62..3f946c36b63a56dcdb752a59af77fcb037f8d679 100644
|
| --- a/cc/animation/layer_animation_controller_unittest.cc
|
| +++ b/cc/animation/layer_animation_controller_unittest.cc
|
| @@ -1237,7 +1237,7 @@ TEST(LayerAnimationControllerTest, SpecifiedStartTimesAreSentToEventObservers) {
|
| controller->set_needs_active_value_observations(true);
|
|
|
| FakeLayerAnimationEventObserver observer;
|
| - controller->AddEventObserver(&observer);
|
| + controller->SetEventObserver(&observer);
|
|
|
| int animation_id =
|
| AddOpacityTransitionToController(controller.get(), 1, 0, 1, false);
|
| @@ -1262,6 +1262,8 @@ TEST(LayerAnimationControllerTest, SpecifiedStartTimesAreSentToEventObservers) {
|
|
|
| // Validate start time on the event observer.
|
| EXPECT_EQ(start_time, observer.start_time());
|
| +
|
| + controller->SetEventObserver(nullptr);
|
| }
|
|
|
| // Tests animations that are waiting for a synchronized start time do not
|
|
|