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

Unified Diff: Source/core/animation/animatable/AnimatableDoubleAndBoolTest.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/AnimatableDoubleAndBoolTest.cpp
diff --git a/Source/core/animation/animatable/AnimatableDoubleAndBoolTest.cpp b/Source/core/animation/animatable/AnimatableDoubleAndBoolTest.cpp
index b961164f55e223f009b33e4df88e7185f9f6a699..3652c091f6f34a7fc83c70f450a92aaf9b5adf74 100644
--- a/Source/core/animation/animatable/AnimatableDoubleAndBoolTest.cpp
+++ b/Source/core/animation/animatable/AnimatableDoubleAndBoolTest.cpp
@@ -38,8 +38,8 @@ TEST(AnimationAnimatableDoubleAndBoolTest, Flag)
TEST(AnimationAnimatableDoubleAndBoolTest, InterpolateFalse)
{
- RefPtrWillBeRawPtr<AnimatableDoubleAndBool> from10 = AnimatableDoubleAndBool::create(10, false);
- RefPtrWillBeRawPtr<AnimatableDoubleAndBool> to20 = AnimatableDoubleAndBool::create(20, false);
+ RefPtr<AnimatableDoubleAndBool> from10 = AnimatableDoubleAndBool::create(10, false);
+ RefPtr<AnimatableDoubleAndBool> to20 = AnimatableDoubleAndBool::create(20, false);
EXPECT_FALSE(toAnimatableDoubleAndBool(AnimatableValue::interpolate(from10.get(), to20.get(), -0.5).get())->flag());
EXPECT_EQ(5, toAnimatableDoubleAndBool(AnimatableValue::interpolate(from10.get(), to20.get(), -0.5).get())->toDouble());
EXPECT_EQ(10, toAnimatableDoubleAndBool(AnimatableValue::interpolate(from10.get(), to20.get(), 0).get())->toDouble());
@@ -53,8 +53,8 @@ TEST(AnimationAnimatableDoubleAndBoolTest, InterpolateFalse)
TEST(AnimationAnimatableDoubleAndBoolTest, InterpolateTrue)
{
- RefPtrWillBeRawPtr<AnimatableDoubleAndBool> from10 = AnimatableDoubleAndBool::create(10, true);
- RefPtrWillBeRawPtr<AnimatableDoubleAndBool> to20 = AnimatableDoubleAndBool::create(20, true);
+ RefPtr<AnimatableDoubleAndBool> from10 = AnimatableDoubleAndBool::create(10, true);
+ RefPtr<AnimatableDoubleAndBool> to20 = AnimatableDoubleAndBool::create(20, true);
EXPECT_TRUE(toAnimatableDoubleAndBool(AnimatableValue::interpolate(from10.get(), to20.get(), -0.5).get())->flag());
EXPECT_EQ(5, toAnimatableDoubleAndBool(AnimatableValue::interpolate(from10.get(), to20.get(), -0.5).get())->toDouble());
EXPECT_EQ(10, toAnimatableDoubleAndBool(AnimatableValue::interpolate(from10.get(), to20.get(), 0).get())->toDouble());
@@ -68,8 +68,8 @@ TEST(AnimationAnimatableDoubleAndBoolTest, InterpolateTrue)
TEST(AnimationAnimatableDoubleAndBoolTest, Step)
{
- RefPtrWillBeRawPtr<AnimatableDoubleAndBool> from10 = AnimatableDoubleAndBool::create(10, true);
- RefPtrWillBeRawPtr<AnimatableDoubleAndBool> to20 = AnimatableDoubleAndBool::create(20, false);
+ RefPtr<AnimatableDoubleAndBool> from10 = AnimatableDoubleAndBool::create(10, true);
+ RefPtr<AnimatableDoubleAndBool> to20 = AnimatableDoubleAndBool::create(20, false);
EXPECT_TRUE(toAnimatableDoubleAndBool(AnimatableValue::interpolate(from10.get(), to20.get(), -0.5).get())->flag());
EXPECT_EQ(10, toAnimatableDoubleAndBool(AnimatableValue::interpolate(from10.get(), to20.get(), -0.5).get())->toDouble());
EXPECT_EQ(10, toAnimatableDoubleAndBool(AnimatableValue::interpolate(from10.get(), to20.get(), 0).get())->toDouble());

Powered by Google App Engine
This is Rietveld 408576698