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

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

Issue 1265853003: CSSValue Immediates: Immediates from all CSSPrimitiveValue constructors (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@tagged_ptrs_base
Patch Set: 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/DoubleStyleInterpolationTest.cpp
diff --git a/Source/core/animation/DoubleStyleInterpolationTest.cpp b/Source/core/animation/DoubleStyleInterpolationTest.cpp
index 9b1d03b4cab65be1bc31034ac51f9bc3922e6496..773bef5ed164463b9a516de5a63e393fc0428ef9 100644
--- a/Source/core/animation/DoubleStyleInterpolationTest.cpp
+++ b/Source/core/animation/DoubleStyleInterpolationTest.cpp
@@ -121,7 +121,7 @@ TEST_F(AnimationDoubleStyleInterpolationTest, ZeroValueFixedMotionRotation)
TEST_F(AnimationDoubleStyleInterpolationTest, ZeroValueAutoMotionRotation)
{
RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSpaceSeparated();
- list->append(CSSPrimitiveValue::createIdentifier(CSSValueAuto));
+ list->append(CSSPrimitiveValue::create(CSSValueAuto));
list->append(CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_DEG));
RefPtrWillBeRawPtr<CSSValue> value = roundTripMotionRotation(list.release(), true);
testValueListMotionRotation(value, 0, true);
@@ -138,7 +138,7 @@ TEST_F(AnimationDoubleStyleInterpolationTest, ValueFixedMotionRotation)
TEST_F(AnimationDoubleStyleInterpolationTest, ValueAutoMotionRotation)
{
RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSpaceSeparated();
- list->append(CSSPrimitiveValue::createIdentifier(CSSValueAuto));
+ list->append(CSSPrimitiveValue::create(CSSValueAuto));
list->append(CSSPrimitiveValue::create(90, CSSPrimitiveValue::CSS_DEG));
RefPtrWillBeRawPtr<CSSValue> value = roundTripMotionRotation(list.release(), true);
testValueListMotionRotation(value, 90, true);
« no previous file with comments | « Source/core/animation/DoubleStyleInterpolation.cpp ('k') | Source/core/animation/ListStyleInterpolationTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698