| Index: Source/core/animation/AnimatableLengthTest.cpp
|
| diff --git a/Source/core/animation/AnimatableLengthTest.cpp b/Source/core/animation/AnimatableLengthTest.cpp
|
| index c2d49a2685d5b1ab53e02e38dcd50bdf84c2df53..d10615a729f1a0b51af09cb6f31456c982fe8537 100644
|
| --- a/Source/core/animation/AnimatableLengthTest.cpp
|
| +++ b/Source/core/animation/AnimatableLengthTest.cpp
|
| @@ -175,7 +175,7 @@ TEST_F(AnimatableLengthTest, ToLength)
|
| EXPECT_EQ(
|
| Length(CalculationValue::create(
|
| adoptPtr(new CalcExpressionBinaryOperation(
|
| - adoptPtr(new CalcExpressionNumber(-5)),
|
| + adoptPtr(new CalcExpressionLength(Length(-5, WebCore::Fixed))),
|
| adoptPtr(new CalcExpressionLength(Length(-5, Percent))),
|
| CalcAdd)),
|
| CalculationRangeAll)),
|
| @@ -183,7 +183,7 @@ TEST_F(AnimatableLengthTest, ToLength)
|
| EXPECT_EQ(
|
| Length(CalculationValue::create(
|
| adoptPtr(new CalcExpressionBinaryOperation(
|
| - adoptPtr(new CalcExpressionNumber(-15)),
|
| + adoptPtr(new CalcExpressionLength(Length(-15, WebCore::Fixed))),
|
| adoptPtr(new CalcExpressionLength(Length(-5, Percent))),
|
| CalcAdd)),
|
| CalculationRangeAll)),
|
| @@ -191,7 +191,7 @@ TEST_F(AnimatableLengthTest, ToLength)
|
| EXPECT_EQ(
|
| Length(CalculationValue::create(
|
| adoptPtr(new CalcExpressionBinaryOperation(
|
| - adoptPtr(new CalcExpressionNumber(-5)),
|
| + adoptPtr(new CalcExpressionLength(Length(-5, WebCore::Fixed))),
|
| adoptPtr(new CalcExpressionLength(Length(-5, Percent))),
|
| CalcAdd)),
|
| CalculationRangeNonNegative)),
|
| @@ -199,7 +199,7 @@ TEST_F(AnimatableLengthTest, ToLength)
|
| EXPECT_EQ(
|
| Length(CalculationValue::create(
|
| adoptPtr(new CalcExpressionBinaryOperation(
|
| - adoptPtr(new CalcExpressionNumber(-15)),
|
| + adoptPtr(new CalcExpressionLength(Length(-15, WebCore::Fixed))),
|
| adoptPtr(new CalcExpressionLength(Length(-5, Percent))),
|
| CalcAdd)),
|
| CalculationRangeNonNegative)),
|
|
|