| Index: Source/core/animation/AnimatableNumber.cpp
|
| diff --git a/Source/core/animation/AnimatableNumber.cpp b/Source/core/animation/AnimatableNumber.cpp
|
| index e0929f2142b3e06370ed24dd99f54c26f10f5911..7b9024968958db2ce4956481180517803c4869ec 100644
|
| --- a/Source/core/animation/AnimatableNumber.cpp
|
| +++ b/Source/core/animation/AnimatableNumber.cpp
|
| @@ -139,7 +139,7 @@ AnimatableNumber::NumberUnitType AnimatableNumber::primitiveUnitToNumberType(uns
|
| {
|
| switch (primitiveUnit) {
|
| case CSSPrimitiveValue::CSS_NUMBER:
|
| - return UnitTypeNone;
|
| + return UnitTypeNumber;
|
| case CSSPrimitiveValue::CSS_PX:
|
| case CSSPrimitiveValue::CSS_CM:
|
| case CSSPrimitiveValue::CSS_MM:
|
| @@ -186,7 +186,7 @@ AnimatableNumber::NumberUnitType AnimatableNumber::primitiveUnitToNumberType(uns
|
| unsigned short AnimatableNumber::numberTypeToPrimitiveUnit(NumberUnitType numberType)
|
| {
|
| switch (numberType) {
|
| - case UnitTypeNone:
|
| + case UnitTypeNumber:
|
| return CSSPrimitiveValue::CSS_NUMBER;
|
| case UnitTypeLength:
|
| return CSSPrimitiveValue::CSS_PX;
|
|
|