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

Unified Diff: Source/core/animation/ColorStyleInterpolationTest.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/ColorStyleInterpolation.cpp ('k') | Source/core/animation/CompositorAnimations.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/ColorStyleInterpolationTest.cpp
diff --git a/Source/core/animation/ColorStyleInterpolationTest.cpp b/Source/core/animation/ColorStyleInterpolationTest.cpp
index 2cf4a04b425ddcc9a39c6073efde1c43ffeb4947..261abf7367f3fe39940fb2df0f80b6f8ef1e4326 100644
--- a/Source/core/animation/ColorStyleInterpolationTest.cpp
+++ b/Source/core/animation/ColorStyleInterpolationTest.cpp
@@ -15,7 +15,7 @@ namespace blink {
class AnimationColorStyleInterpolationTest : public ::testing::Test {
protected:
- static PassOwnPtrWillBeRawPtr<InterpolableValue> colorToInterpolableValue(const CSSValue& value)
+ static InterpolableValue* colorToInterpolableValue(const CSSValue& value)
{
return ColorStyleInterpolation::colorToInterpolableValue(value);
}
@@ -27,7 +27,7 @@ protected:
static PassRefPtrWillBeRawPtr<CSSValue> roundTrip(PassRefPtrWillBeRawPtr<CSSValue> value)
{
- return interpolableValueToColor(colorToInterpolableValue(*value).get());
+ return interpolableValueToColor(colorToInterpolableValue(*value));
}
static void testPrimitiveValue(PassRefPtrWillBeRawPtr<CSSValue> value, RGBA32 rgbaValue)
@@ -71,7 +71,7 @@ TEST_F(AnimationColorStyleInterpolationTest, ValueIDColor)
TEST_F(AnimationColorStyleInterpolationTest, Interpolation)
{
- RefPtrWillBeRawPtr<Interpolation> interpolation = ColorStyleInterpolation::create(
+ Interpolation* interpolation = ColorStyleInterpolation::create(
*CSSPrimitiveValue::createColor(makeRGBA(0, 0, 0, 255)),
*CSSPrimitiveValue::createColor(makeRGBA(255, 255, 255, 255)),
CSSPropertyColor
« no previous file with comments | « Source/core/animation/ColorStyleInterpolation.cpp ('k') | Source/core/animation/CompositorAnimations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698