Index: webkit/renderer/compositor_bindings/web_float_animation_curve_impl.cc |
diff --git a/webkit/renderer/compositor_bindings/web_float_animation_curve_impl.cc b/webkit/renderer/compositor_bindings/web_float_animation_curve_impl.cc |
index fe2ae81d44018e48fcecbc537b1c7f587c42ad02..248d04506109586ec7d5a2e77a593386cf58dd3b 100644 |
--- a/webkit/renderer/compositor_bindings/web_float_animation_curve_impl.cc |
+++ b/webkit/renderer/compositor_bindings/web_float_animation_curve_impl.cc |
@@ -34,6 +34,16 @@ void WebFloatAnimationCurveImpl::add(const WebFloatKeyframe& keyframe, |
} |
void WebFloatAnimationCurveImpl::add(const WebFloatKeyframe& keyframe, |
+ int steps, |
+ bool stepsAtStart) { |
+ curve_->AddKeyframe(cc::FloatKeyframe::Create( |
+ keyframe.time, |
+ keyframe.value, |
+ cc::StepsTimingFunction::Create(steps, stepsAtStart) |
+ .PassAs<cc::TimingFunction>())); |
+} |
+ |
+void WebFloatAnimationCurveImpl::add(const WebFloatKeyframe& keyframe, |
double x1, |
double y1, |
double x2, |