Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 7df31866aab6b48636eaf44fe31c5c3cfadd9643..4ae6f9be8c7bf242ea7010d9df3eba1d8bda4284 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -1143,15 +1143,13 @@ scoped_ptr<base::Value> LayerTreeHost::AsValue() const { |
return state.PassAs<base::Value>(); |
} |
-void LayerTreeHost::AnimateLayers(base::TimeTicks time) { |
+void LayerTreeHost::AnimateLayers(base::TimeTicks monotonic_time) { |
if (!settings_.accelerated_animation_enabled || |
animation_registrar_->active_animation_controllers().empty()) |
return; |
TRACE_EVENT0("cc", "LayerTreeHost::AnimateLayers"); |
- double monotonic_time = (time - base::TimeTicks()).InSecondsF(); |
- |
AnimationRegistrar::AnimationControllerMap copy = |
animation_registrar_->active_animation_controllers(); |
for (AnimationRegistrar::AnimationControllerMap::iterator iter = copy.begin(); |