Index: cc/animation/scroll_offset_animation_curve.h |
diff --git a/cc/animation/scroll_offset_animation_curve.h b/cc/animation/scroll_offset_animation_curve.h |
index 0d45cf2f7b83e1e493afd3a79ea80f4a76949fb1..543ae373f94edd6d3563b27c416de90c2044e07c 100644 |
--- a/cc/animation/scroll_offset_animation_curve.h |
+++ b/cc/animation/scroll_offset_animation_curve.h |
@@ -6,6 +6,7 @@ |
#define CC_ANIMATION_SCROLL_OFFSET_ANIMATION_CURVE_H_ |
#include "base/memory/scoped_ptr.h" |
+#include "base/time/time.h" |
#include "cc/animation/animation_curve.h" |
#include "cc/base/cc_export.h" |
@@ -35,7 +36,7 @@ class CC_EXPORT ScrollOffsetAnimationCurve : public AnimationCurve { |
gfx::Vector2dF initial_value_; |
gfx::Vector2dF target_value_; |
- double duration_; |
+ base::TimeDelta duration_; |
scoped_ptr<TimingFunction> timing_function_; |