Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Unified Diff: Source/core/animation/animatable/AnimatableDoubleTest.cpp

Issue 1276183004: Oilpan: Unship oilpan from temporary animation objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698