Chromium Code Reviews

Unified Diff: ui/compositor/transform_animation_curve_adapter.h

Issue 693883004: Make cc::animation::TrimTimeToCurrentIteration,cc::AnimationCurve::Duration use TimeTicks/TimeDelta (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « ui/compositor/float_animation_curve_adapter.cc ('k') | ui/compositor/transform_animation_curve_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/transform_animation_curve_adapter.h
diff --git a/ui/compositor/transform_animation_curve_adapter.h b/ui/compositor/transform_animation_curve_adapter.h
index 7aa318eac5baf9b35a8beab2dd1e63426c49aa85..c08024dd3aaef3e223f3b4a4b587dc226c44cc39 100644
--- a/ui/compositor/transform_animation_curve_adapter.h
+++ b/ui/compositor/transform_animation_curve_adapter.h
@@ -25,7 +25,7 @@ class COMPOSITOR_EXPORT TransformAnimationCurveAdapter
~TransformAnimationCurveAdapter() override;
// TransformAnimationCurve implementation.
- double Duration() const override;
+ base::TimeDelta Duration() const override;
scoped_ptr<AnimationCurve> Clone() const override;
gfx::Transform GetValue(double t) const override;
bool AnimatedBoundsForBox(const gfx::BoxF& box,
@@ -55,7 +55,7 @@ class COMPOSITOR_EXPORT InverseTransformCurveAdapter
~InverseTransformCurveAdapter() override;
- double Duration() const override;
+ base::TimeDelta Duration() const override;
scoped_ptr<AnimationCurve> Clone() const override;
gfx::Transform GetValue(double t) const override;
bool AnimatedBoundsForBox(const gfx::BoxF& box,
« no previous file with comments | « ui/compositor/float_animation_curve_adapter.cc ('k') | ui/compositor/transform_animation_curve_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine