Index: cc/animation/element_animations_unittest.cc |
diff --git a/cc/animation/element_animations_unittest.cc b/cc/animation/element_animations_unittest.cc |
index 679426642b1edca42467602c49274cde8f67684f..014d158d4f07c71ce8cc86bebd1437b6ba2136ca 100644 |
--- a/cc/animation/element_animations_unittest.cc |
+++ b/cc/animation/element_animations_unittest.cc |
@@ -1196,9 +1196,9 @@ TEST_F(ElementAnimationsTest, |
EXPECT_EQ(0.f, client_.GetOpacity(element_id_, ElementListType::ACTIVE)); |
// Send the synchronized start time. |
- animations->NotifyAnimationStarted( |
- AnimationEvent(AnimationEvent::STARTED, 0, 1, TargetProperty::OPACITY, |
- kInitialTickTime + TimeDelta::FromMilliseconds(2000))); |
+ animations->NotifyAnimationStarted(AnimationEvent( |
+ AnimationEvent::STARTED, ElementId(), 1, TargetProperty::OPACITY, |
+ kInitialTickTime + TimeDelta::FromMilliseconds(2000))); |
animations->Animate(kInitialTickTime + TimeDelta::FromMilliseconds(5000)); |
animations->UpdateState(true, events.get()); |
EXPECT_EQ(1.f, client_.GetOpacity(element_id_, ElementListType::ACTIVE)); |