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

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

Issue 1303173007: Oilpan: Unship Oilpan from CSSValues Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/core/animation/FilterStyleInterpolationTest.cpp
diff --git a/Source/core/animation/FilterStyleInterpolationTest.cpp b/Source/core/animation/FilterStyleInterpolationTest.cpp
index a1d08fb79aa964e0de443f35f11872ef95aa1176..482e461096c40326b8c447563d8195d328a39e9d 100644
--- a/Source/core/animation/FilterStyleInterpolationTest.cpp
+++ b/Source/core/animation/FilterStyleInterpolationTest.cpp
@@ -18,14 +18,14 @@ protected:
CSSValueID functionType;
ASSERT_TRUE(FilterStyleInterpolation::canCreateFrom(value, value));
OwnPtrWillBeRawPtr<InterpolableValue> interpolableValue = FilterStyleInterpolation::toInterpolableValue(value, functionType);
- RefPtrWillBeRawPtr<CSSFunctionValue> result = FilterStyleInterpolation::fromInterpolableValue(*interpolableValue, functionType);
+ RefPtr<CSSFunctionValue> result = FilterStyleInterpolation::fromInterpolableValue(*interpolableValue, functionType);
ASSERT_TRUE(value.equals(*result));
}
};
TEST_F(AnimationFilterStyleInterpolationTest, ZeroTest)
{
- RefPtrWillBeRawPtr<CSSFunctionValue> filter;
+ RefPtr<CSSFunctionValue> filter;
filter = CSSFunctionValue::create(CSSValueBlur);
filter->append(CSSPrimitiveValue::create(0, CSSPrimitiveValue::UnitType::Pixels));
roundTrip(*filter);
@@ -33,7 +33,7 @@ TEST_F(AnimationFilterStyleInterpolationTest, ZeroTest)
TEST_F(AnimationFilterStyleInterpolationTest, SimpleTest)
{
- RefPtrWillBeRawPtr<CSSFunctionValue> filter;
+ RefPtr<CSSFunctionValue> filter;
filter = CSSFunctionValue::create(CSSValueOpacity);
filter->append(CSSPrimitiveValue::create(0.5, CSSPrimitiveValue::UnitType::Number));
« no previous file with comments | « Source/core/animation/FilterStyleInterpolation.cpp ('k') | Source/core/animation/ImageSliceStyleInterpolation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698