PassRefPtr<Interpolation> AnimatableValueKeyframe::PropertySpecificKeyframe::createInterpolation( PropertyHandle property, const Keyframe::PropertySpecificKeyframe& end) const { return LegacyStyleInterpolation::create( value(), toAnimatableValuePropertySpecificKeyframe(end).value(), property.cssProperty()); }
PassRefPtr<Interpolation> AnimatableValueKeyframe::PropertySpecificKeyframe::createInterpolation(CSSPropertyID property, Keyframe::PropertySpecificKeyframe* end, Element*) const { AnimatableValuePropertySpecificKeyframe* to = toAnimatableValuePropertySpecificKeyframe(end); return LegacyStyleInterpolation::create(value(), to->value(), property); }
PassRefPtr<Interpolation> AnimatableValueKeyframe::PropertySpecificKeyframe::maybeCreateInterpolation(PropertyHandle property, Keyframe::PropertySpecificKeyframe& end, Element*, const ComputedStyle*) const { AnimatableValuePropertySpecificKeyframe& to = toAnimatableValuePropertySpecificKeyframe(end); return LegacyStyleInterpolation::create(value(), to.value(), property.cssProperty()); }