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

Unified Diff: cc/animation/animation_events.h

Issue 231133002: CC::Animations should use TimeTicks & TimeDelta to represent time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code Refactored as per the comments. Created 6 years, 8 months 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
Index: cc/animation/animation_events.h
diff --git a/cc/animation/animation_events.h b/cc/animation/animation_events.h
index e0cf73645c9b5f1a44b4958c724a87c741e0d09b..e40ca3f633f455c4cf420a4a7303f2513db2bccf 100644
--- a/cc/animation/animation_events.h
+++ b/cc/animation/animation_events.h
@@ -21,13 +21,13 @@ struct CC_EXPORT AnimationEvent {
int layer_id,
int group_id,
Animation::TargetProperty target_property,
- double monotonic_time);
+ base::TimeTicks monotonic_time);
Type type;
int layer_id;
int group_id;
Animation::TargetProperty target_property;
- double monotonic_time;
+ base::TimeTicks monotonic_time;
bool is_impl_only;
float opacity;
gfx::Transform transform;

Powered by Google App Engine
This is Rietveld 408576698