Index: ui/compositor/transform_animation_curve_adapter.cc |
diff --git a/ui/compositor/transform_animation_curve_adapter.cc b/ui/compositor/transform_animation_curve_adapter.cc |
index fa73140a5ec65bd0d212308b534abb16eb6a3cb0..2c114889321967b826f8381c076fa3dc342354ad 100644 |
--- a/ui/compositor/transform_animation_curve_adapter.cc |
+++ b/ui/compositor/transform_animation_curve_adapter.cc |
@@ -22,8 +22,8 @@ TransformAnimationCurveAdapter::TransformAnimationCurveAdapter( |
TransformAnimationCurveAdapter::~TransformAnimationCurveAdapter() { |
} |
-double TransformAnimationCurveAdapter::Duration() const { |
- return duration_.InSecondsF(); |
+base::TimeDelta TransformAnimationCurveAdapter::Duration() const { |
+ return duration_; |
} |
scoped_ptr<cc::AnimationCurve> TransformAnimationCurveAdapter::Clone() const { |
@@ -86,8 +86,8 @@ InverseTransformCurveAdapter::InverseTransformCurveAdapter( |
InverseTransformCurveAdapter::~InverseTransformCurveAdapter() { |
} |
-double InverseTransformCurveAdapter::Duration() const { |
- return duration_.InSeconds(); |
+base::TimeDelta InverseTransformCurveAdapter::Duration() const { |
+ return duration_; |
} |
scoped_ptr<cc::AnimationCurve> InverseTransformCurveAdapter::Clone() const { |