| Index: third_party/WebKit/Source/core/animation/AnimationTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/AnimationTest.cpp b/third_party/WebKit/Source/core/animation/AnimationTest.cpp
|
| index 0b8a59ee703c34896bd6abcf1cf311c28d32c6a1..a0513d9d0caff012e35196d98546a15c5749aa7c 100644
|
| --- a/third_party/WebKit/Source/core/animation/AnimationTest.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/AnimationTest.cpp
|
| @@ -571,8 +571,8 @@ TEST_F(AnimationAnimationTest, SetEffect)
|
| {
|
| animation = timeline->play(0);
|
| animation->setStartTime(0);
|
| - AnimationEffect* effect1 = makeAnimation();
|
| - AnimationEffect* effect2 = makeAnimation();
|
| + AnimationEffectReadOnly* effect1 = makeAnimation();
|
| + AnimationEffectReadOnly* effect2 = makeAnimation();
|
| animation->setEffect(effect1);
|
| EXPECT_EQ(effect1, animation->effect());
|
| EXPECT_EQ(0, animation->currentTimeInternal());
|
| @@ -617,7 +617,7 @@ TEST_F(AnimationAnimationTest, EmptyAnimationsDontUpdateEffects)
|
|
|
| TEST_F(AnimationAnimationTest, AnimationsDisassociateFromEffect)
|
| {
|
| - AnimationEffect* animationNode = animation->effect();
|
| + AnimationEffectReadOnly* animationNode = animation->effect();
|
| Animation* animation2 = timeline->play(animationNode);
|
| EXPECT_EQ(0, animation->effect());
|
| animation->setEffect(animationNode);
|
|
|