| Index: Source/core/animation/animatable/AnimatableDoubleTest.cpp
|
| diff --git a/Source/core/animation/animatable/AnimatableDoubleTest.cpp b/Source/core/animation/animatable/AnimatableDoubleTest.cpp
|
| index 3435536d9d072e9e9990283c04f2845e3a3797d1..7bab3b08200bc50646c036c09f94d4f0817d5fe3 100644
|
| --- a/Source/core/animation/animatable/AnimatableDoubleTest.cpp
|
| +++ b/Source/core/animation/animatable/AnimatableDoubleTest.cpp
|
| @@ -56,8 +56,8 @@ TEST(AnimationAnimatableDoubleTest, ToDouble)
|
|
|
| TEST(AnimationAnimatableDoubleTest, Interpolate)
|
| {
|
| - RefPtrWillBeRawPtr<AnimatableDouble> from10 = AnimatableDouble::create(10);
|
| - RefPtrWillBeRawPtr<AnimatableDouble> to20 = AnimatableDouble::create(20);
|
| + RefPtr<AnimatableDouble> from10 = AnimatableDouble::create(10);
|
| + RefPtr<AnimatableDouble> to20 = AnimatableDouble::create(20);
|
| EXPECT_EQ(5, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), -0.5).get())->toDouble());
|
| EXPECT_EQ(10, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 0).get())->toDouble());
|
| EXPECT_EQ(14, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 0.4).get())->toDouble());
|
|
|