Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1526)

Unified Diff: ui/compositor/float_animation_curve_adapter.h

Issue 719453007: Make Keyframe use TimeTicks/TimeDelta to represent time instead of double. (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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation.cc ('k') | ui/compositor/float_animation_curve_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/float_animation_curve_adapter.h
diff --git a/ui/compositor/float_animation_curve_adapter.h b/ui/compositor/float_animation_curve_adapter.h
index 88d58703dcb057327939b77d9fb46fb666ee701a..dc665d4bcf2b506ee34f88d229439ffef1802175 100644
--- a/ui/compositor/float_animation_curve_adapter.h
+++ b/ui/compositor/float_animation_curve_adapter.h
@@ -23,7 +23,7 @@ class FloatAnimationCurveAdapter : public cc::FloatAnimationCurve {
// FloatAnimationCurve implementation.
base::TimeDelta Duration() const override;
scoped_ptr<cc::AnimationCurve> Clone() const override;
- float GetValue(double t) const override;
+ float GetValue(base::TimeDelta t) const override;
private:
gfx::Tween::Type tween_type_;
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation.cc ('k') | ui/compositor/float_animation_curve_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698