Index: Source/core/animation/AnimatableNumber.cpp |
diff --git a/Source/core/animation/AnimatableNumber.cpp b/Source/core/animation/AnimatableNumber.cpp |
index 415fc8bed44237de61ae84f49eea0987d2c2cdf7..a214572afd52d31f01803d2246d225b0b362bf5e 100644 |
--- a/Source/core/animation/AnimatableNumber.cpp |
+++ b/Source/core/animation/AnimatableNumber.cpp |
@@ -52,7 +52,7 @@ PassRefPtr<AnimatableNumber> AnimatableNumber::create(CSSValue* value) |
return create(primitiveValue->getDoubleValue() * scale, unitType, primitiveValue); |
} |
- if (value->isCalculationValue()) |
+ if (value->isCalcValue()) |
return create(toCSSCalcValue(value)->expressionNode()); |
ASSERT_NOT_REACHED(); |
@@ -78,7 +78,7 @@ bool AnimatableNumber::canCreateFrom(const CSSValue* value) |
return true; |
return primitiveUnitToNumberType(primitiveValue->primitiveType()) != UnitTypeInvalid; |
} |
- return value->isCalculationValue(); |
+ return value->isCalcValue(); |
} |
PassRefPtr<CSSValue> AnimatableNumber::toCSSValue(NumberRange range) const |