Index: cc/animation/scroll_offset_animation_curve.cc |
diff --git a/cc/animation/scroll_offset_animation_curve.cc b/cc/animation/scroll_offset_animation_curve.cc |
index 641c9e0186db232bdbfee2e30368ace17f50b91d..e0b1a3b5e5c2f2da58642865d1c0854662efdd75 100644 |
--- a/cc/animation/scroll_offset_animation_curve.cc |
+++ b/cc/animation/scroll_offset_animation_curve.cc |
@@ -83,8 +83,8 @@ gfx::ScrollOffset ScrollOffsetAnimationCurve::GetValue(double t) const { |
progress, initial_value_.y(), target_value_.y())); |
} |
-double ScrollOffsetAnimationCurve::Duration() const { |
- return total_animation_duration_.InSecondsF(); |
+base::TimeDelta ScrollOffsetAnimationCurve::Duration() const { |
+ return total_animation_duration_; |
} |
AnimationCurve::CurveType ScrollOffsetAnimationCurve::Type() const { |