| Index: Source/core/animation/AnimationTest.cpp
|
| diff --git a/Source/core/animation/AnimationTest.cpp b/Source/core/animation/AnimationTest.cpp
|
| index ab3945a3cc5ce0c0f6fef0570936e532f4e77dff..e4fabe51f32a87cd9698cdd5b634cf9c0dc38ece 100644
|
| --- a/Source/core/animation/AnimationTest.cpp
|
| +++ b/Source/core/animation/AnimationTest.cpp
|
| @@ -88,14 +88,13 @@ TEST_F(AnimationAnimationV8Test, CanCreateAnAnimation)
|
| Element* target = animation->target();
|
| EXPECT_EQ(*element.get(), *target);
|
|
|
| - const KeyframeEffectModel::KeyframeVector keyframes =
|
| - toKeyframeEffectModel(animation->effect())->getFrames();
|
| + const KeyframeVector keyframes = toKeyframeEffectModelBase(animation->effect())->getFrames();
|
|
|
| EXPECT_EQ(0, keyframes[0]->offset());
|
| EXPECT_EQ(1, keyframes[1]->offset());
|
|
|
| - const AnimatableValue* keyframe1Width = keyframes[0]->propertyValue(CSSPropertyWidth);
|
| - const AnimatableValue* keyframe2Width = keyframes[1]->propertyValue(CSSPropertyWidth);
|
| + const AnimatableValue* keyframe1Width = toAnimatableValueKeyframe(keyframes[0].get())->propertyValue(CSSPropertyWidth);
|
| + const AnimatableValue* keyframe2Width = toAnimatableValueKeyframe(keyframes[1].get())->propertyValue(CSSPropertyWidth);
|
| ASSERT(keyframe1Width);
|
| ASSERT(keyframe2Width);
|
|
|
|
|