Index: Source/core/animation/AnimatableDoubleTest.cpp |
diff --git a/Source/core/animation/AnimatableDoubleTest.cpp b/Source/core/animation/AnimatableDoubleTest.cpp |
index a5efd96038378236bc129afa7963456c96d63b45..933b963964ca55a994486701d906535501105d49 100644 |
--- a/Source/core/animation/AnimatableDoubleTest.cpp |
+++ b/Source/core/animation/AnimatableDoubleTest.cpp |
@@ -68,8 +68,8 @@ TEST(AnimationAnimatableDoubleTest, ToDouble) |
TEST(AnimationAnimatableDoubleTest, Interpolate) |
{ |
- RefPtr<AnimatableDouble> from10 = AnimatableDouble::create(10); |
- RefPtr<AnimatableDouble> to20 = AnimatableDouble::create(20); |
+ RefPtrWillBeRawPtr<AnimatableDouble> from10 = AnimatableDouble::create(10); |
+ RefPtrWillBeRawPtr<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()); |
@@ -90,9 +90,9 @@ TEST(AnimationAnimatableDoubleTest, Add) |
TEST(AnimationAnimatableDoubleTest, Distance) |
{ |
- RefPtr<AnimatableDouble> first = AnimatableDouble::create(-1.5); |
- RefPtr<AnimatableDouble> second = AnimatableDouble::create(2.25); |
- RefPtr<AnimatableDouble> third = AnimatableDouble::create(3); |
+ RefPtrWillBeRawPtr<AnimatableDouble> first = AnimatableDouble::create(-1.5); |
+ RefPtrWillBeRawPtr<AnimatableDouble> second = AnimatableDouble::create(2.25); |
+ RefPtrWillBeRawPtr<AnimatableDouble> third = AnimatableDouble::create(3); |
EXPECT_DOUBLE_EQ(3.75, AnimatableValue::distance(first.get(), second.get())); |
EXPECT_DOUBLE_EQ(0.75, AnimatableValue::distance(second.get(), third.get())); |