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

Unified Diff: Source/core/animation/DoubleStyleInterpolationTest.cpp

Issue 1120003002: [Oilpan] Migrate most classes under core/animations to Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 4 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
« no previous file with comments | « Source/core/animation/DoubleStyleInterpolation.cpp ('k') | Source/core/animation/EffectInput.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/DoubleStyleInterpolationTest.cpp
diff --git a/Source/core/animation/DoubleStyleInterpolationTest.cpp b/Source/core/animation/DoubleStyleInterpolationTest.cpp
index 78662f8dfed8c19e14b08560344af61a6c76f62b..3e46d55abffc8788fadac59d1c12518209771470 100644
--- a/Source/core/animation/DoubleStyleInterpolationTest.cpp
+++ b/Source/core/animation/DoubleStyleInterpolationTest.cpp
@@ -16,12 +16,12 @@ namespace blink {
class AnimationDoubleStyleInterpolationTest : public ::testing::Test {
protected:
- static PassOwnPtrWillBeRawPtr<InterpolableValue> doubleToInterpolableValue(const CSSValue& value)
+ static InterpolableValue* doubleToInterpolableValue(const CSSValue& value)
{
return DoubleStyleInterpolation::doubleToInterpolableValue(value);
}
- static PassOwnPtrWillBeRawPtr<InterpolableValue> motionRotationToInterpolableValue(const CSSValue& value)
+ static InterpolableValue* motionRotationToInterpolableValue(const CSSValue& value)
{
return DoubleStyleInterpolation::motionRotationToInterpolableValue(value);
}
@@ -38,12 +38,12 @@ protected:
static PassRefPtrWillBeRawPtr<CSSValue> roundTrip(PassRefPtrWillBeRawPtr<CSSValue> value)
{
- return interpolableValueToDouble(doubleToInterpolableValue(*value).get(), toCSSPrimitiveValue(value.get())->isNumber(), RangeAll);
+ return interpolableValueToDouble(doubleToInterpolableValue(*value), toCSSPrimitiveValue(value.get())->isNumber(), RangeAll);
}
static PassRefPtrWillBeRawPtr<CSSValue> roundTripMotionRotation(PassRefPtrWillBeRawPtr<CSSValue> value, bool flag)
{
- return interpolableValueToMotionRotation(motionRotationToInterpolableValue(*value).get(), flag);
+ return interpolableValueToMotionRotation(motionRotationToInterpolableValue(*value), flag);
}
static void testPrimitiveValue(RefPtrWillBeRawPtr<CSSValue> value, double doubleValue, CSSPrimitiveValue::UnitType unitType)
@@ -99,7 +99,7 @@ TEST_F(AnimationDoubleStyleInterpolationTest, AngleValue)
TEST_F(AnimationDoubleStyleInterpolationTest, Clamping)
{
- RefPtrWillBeRawPtr<Interpolation> interpolableDouble = DoubleStyleInterpolation::create(
+ Interpolation* interpolableDouble = DoubleStyleInterpolation::create(
*CSSPrimitiveValue::create(0, CSSPrimitiveValue::UnitType::Number),
*CSSPrimitiveValue::create(0.6, CSSPrimitiveValue::UnitType::Number),
CSSPropertyLineHeight,
« no previous file with comments | « Source/core/animation/DoubleStyleInterpolation.cpp ('k') | Source/core/animation/EffectInput.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698