Index: cc/blink/web_scroll_offset_animation_curve_impl.cc |
diff --git a/cc/blink/web_scroll_offset_animation_curve_impl.cc b/cc/blink/web_scroll_offset_animation_curve_impl.cc |
index e7896317d00c36c64cf76c2aacb6db206eee2b38..ba55d5b33bd4526c3033e2b168debd490e972d38 100644 |
--- a/cc/blink/web_scroll_offset_animation_curve_impl.cc |
+++ b/cc/blink/web_scroll_offset_animation_curve_impl.cc |
@@ -39,7 +39,7 @@ WebFloatPoint WebScrollOffsetAnimationCurveImpl::getValue(double time) const { |
} |
double WebScrollOffsetAnimationCurveImpl::duration() const { |
- return curve_->Duration(); |
+ return curve_->Duration().InSecondsF(); |
} |
scoped_ptr<cc::AnimationCurve> |