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/FilterStyleInterpolationTest.cpp

Issue 1164573002: CSSValue Immediates: Change CSSValue to an object instead of a pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 5 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 0b858abd2bdfb97ce65d88f9831ff7019f9655bd..dbe54cdc343e4d8a3b38c609608ec31989a69aa2 100644
--- a/Source/core/animation/FilterStyleInterpolationTest.cpp
+++ b/Source/core/animation/FilterStyleInterpolationTest.cpp
@@ -19,7 +19,7 @@ protected:
ASSERT_TRUE(FilterStyleInterpolation::canCreateFrom(value, value));
OwnPtrWillBeRawPtr<InterpolableValue> interpolableValue = FilterStyleInterpolation::toInterpolableValue(value, functionType);
RefPtrWillBeRawPtr<CSSFunctionValue> result = FilterStyleInterpolation::fromInterpolableValue(*interpolableValue, functionType);
- ASSERT_TRUE(value.equals(*result));
+ ASSERT_TRUE(value.equals(result));
}
};
@@ -28,7 +28,7 @@ TEST_F(AnimationFilterStyleInterpolationTest, ZeroTest)
RefPtrWillBeRawPtr<CSSFunctionValue> filter;
filter = CSSFunctionValue::create(CSSValueBlur);
filter->append(CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_PX));
- roundTrip(*filter);
+ roundTrip(filter);
}
TEST_F(AnimationFilterStyleInterpolationTest, SimpleTest)
@@ -37,7 +37,7 @@ TEST_F(AnimationFilterStyleInterpolationTest, SimpleTest)
filter = CSSFunctionValue::create(CSSValueOpacity);
filter->append(CSSPrimitiveValue::create(0.5, CSSPrimitiveValue::CSS_NUMBER));
- roundTrip(*filter);
+ roundTrip(filter);
}
}
« 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