Index: ui/compositor/float_animation_curve_adapter.cc |
diff --git a/ui/compositor/float_animation_curve_adapter.cc b/ui/compositor/float_animation_curve_adapter.cc |
index 308fc1e59f5d8e30aebc7f44a71aee7e5d2c9100..3b5e155e3a154e2cf3910977bb58058352cfcb97 100644 |
--- a/ui/compositor/float_animation_curve_adapter.cc |
+++ b/ui/compositor/float_animation_curve_adapter.cc |
@@ -17,8 +17,8 @@ FloatAnimationCurveAdapter::FloatAnimationCurveAdapter( |
duration_(duration) { |
} |
-double FloatAnimationCurveAdapter::Duration() const { |
- return duration_.InSecondsF(); |
+base::TimeDelta FloatAnimationCurveAdapter::Duration() const { |
+ return duration_; |
} |
scoped_ptr<cc::AnimationCurve> FloatAnimationCurveAdapter::Clone() const { |