| Index: Source/core/animation/AnimatableColorTest.cpp
|
| diff --git a/Source/core/animation/AnimatableColorTest.cpp b/Source/core/animation/AnimatableColorTest.cpp
|
| index ea66a8b09641029bf89f5343bb38e929efbe64dd..b9838aac219acd160fdb1b0137546568655c3b64 100644
|
| --- a/Source/core/animation/AnimatableColorTest.cpp
|
| +++ b/Source/core/animation/AnimatableColorTest.cpp
|
| @@ -82,8 +82,8 @@ TEST(AnimationAnimatableColorTest, Distance)
|
| EXPECT_NEAR(60.0 / 255, AnimatableColorImpl(Color(0x3C000000)).distanceTo(Color(0x00FFFFFF)), 0.00000001);
|
| EXPECT_NEAR(60.0 / 255, AnimatableColorImpl(Color(0x3C000000)).distanceTo(Color(0x3C00FF00)), 0.00000001);
|
|
|
| - RefPtr<AnimatableColor> first = AnimatableColor::create(AnimatableColorImpl(Color(0xFF53647C)), AnimatableColorImpl(Color(0xFF000000)));
|
| - RefPtr<AnimatableColor> second = AnimatableColor::create(AnimatableColorImpl(Color(0xFF506070)), AnimatableColorImpl(Color(0xFF000000)));
|
| + RefPtrWillBeRawPtr<AnimatableColor> first = AnimatableColor::create(AnimatableColorImpl(Color(0xFF53647C)), AnimatableColorImpl(Color(0xFF000000)));
|
| + RefPtrWillBeRawPtr<AnimatableColor> second = AnimatableColor::create(AnimatableColorImpl(Color(0xFF506070)), AnimatableColorImpl(Color(0xFF000000)));
|
| EXPECT_NEAR(13.0 / 255, AnimatableValue::distance(first.get(), second.get()), 0.00000001);
|
| }
|
|
|
|
|