Index: cc/animation/animation_curve.h |
diff --git a/cc/animation/animation_curve.h b/cc/animation/animation_curve.h |
index c03feb8c71b1aae3270478f050d375fd90f8a0a9..f4c697cbada8046c2f65fbf70e3d2c2c2a3f826c 100644 |
--- a/cc/animation/animation_curve.h |
+++ b/cc/animation/animation_curve.h |
@@ -48,7 +48,7 @@ class CC_EXPORT ColorAnimationCurve : public AnimationCurve { |
public: |
~ColorAnimationCurve() override {} |
- virtual SkColor GetValue(double t) const = 0; |
+ virtual SkColor GetValue(base::TimeDelta t) const = 0; |
// Partial Animation implementation. |
CurveType Type() const override; |
@@ -58,7 +58,7 @@ class CC_EXPORT FloatAnimationCurve : public AnimationCurve { |
public: |
~FloatAnimationCurve() override {} |
- virtual float GetValue(double t) const = 0; |
+ virtual float GetValue(base::TimeDelta t) const = 0; |
// Partial Animation implementation. |
CurveType Type() const override; |
@@ -68,7 +68,7 @@ class CC_EXPORT TransformAnimationCurve : public AnimationCurve { |
public: |
~TransformAnimationCurve() override {} |
- virtual gfx::Transform GetValue(double t) const = 0; |
+ virtual gfx::Transform GetValue(base::TimeDelta t) const = 0; |
// Sets |bounds| to be the bounding box for the region within which |box| |
// will move during this animation. If this region cannot be computed, |
@@ -98,7 +98,7 @@ class CC_EXPORT FilterAnimationCurve : public AnimationCurve { |
public: |
~FilterAnimationCurve() override {} |
- virtual FilterOperations GetValue(double t) const = 0; |
+ virtual FilterOperations GetValue(base::TimeDelta t) const = 0; |
virtual bool HasFilterThatMovesPixels() const = 0; |
// Partial Animation implementation. |