Index: Source/core/animation/LengthStyleInterpolation.h |
diff --git a/Source/core/animation/LengthStyleInterpolation.h b/Source/core/animation/LengthStyleInterpolation.h |
index 35401806cf657de17e86260261382a417064a3dd..b25c32840086a559aa449808370e69ea24ec55c7 100644 |
--- a/Source/core/animation/LengthStyleInterpolation.h |
+++ b/Source/core/animation/LengthStyleInterpolation.h |
@@ -18,16 +18,16 @@ public: |
static PassRefPtrWillBeRawPtr<LengthStyleInterpolation> create(const CSSValue& start, const CSSValue& end, CSSPropertyID id, InterpolationRange range) |
{ |
- return adoptRefWillBeNoop(new LengthStyleInterpolation(toInterpolableValue(start), toInterpolableValue(end), id, range)); |
+ return adoptRefWillBeNoop(new LengthStyleInterpolation(toInterpolableValue(start, id), toInterpolableValue(end, id), id, range)); |
} |
- static bool canCreateFrom(const CSSValue&); |
+ static bool canCreateFrom(const CSSValue&, CSSPropertyID = CSSPropertyInvalid); |
virtual void apply(StyleResolverState&) const override; |
virtual void trace(Visitor*) override; |
- static PassOwnPtrWillBeRawPtr<InterpolableValue> toInterpolableValue(const CSSValue&); |
+ static PassOwnPtrWillBeRawPtr<InterpolableValue> toInterpolableValue(const CSSValue&, CSSPropertyID = CSSPropertyInvalid); |
static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> fromInterpolableValue(const InterpolableValue&, InterpolationRange); |
private: |