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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 194543002: Removing base::Time from SetAnimationEvents and PostAnimationEventsToMainThreadOnImplThread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing unused last_animation_time_ as well. Created 6 years, 9 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
« no previous file with comments | « cc/trees/layer_tree_host_impl.h ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index 13198bae4bfde4c1ac33a53ef6234655c954b416..5c95aae203cca169a7e235edef849a266de0229e 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -2697,7 +2697,6 @@ void LayerTreeHostImpl::AnimateLayers(base::TimeTicks monotonic_time,
TRACE_EVENT0("cc", "LayerTreeHostImpl::AnimateLayers");
- last_animation_time_ = wall_clock_time;
double monotonic_seconds = (monotonic_time - base::TimeTicks()).InSecondsF();
AnimationRegistrar::AnimationControllerMap copy =
@@ -2727,8 +2726,7 @@ void LayerTreeHostImpl::UpdateAnimationState(bool start_ready_animations) {
(*iter).second->UpdateState(start_ready_animations, events.get());
if (!events->empty()) {
- client_->PostAnimationEventsToMainThreadOnImplThread(events.Pass(),
- last_animation_time_);
+ client_->PostAnimationEventsToMainThreadOnImplThread(events.Pass());
}
}
« no previous file with comments | « cc/trees/layer_tree_host_impl.h ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698