| Index: cc/trees/layer_tree_host.cc
|
| diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
|
| index 65d5dd6f76650ea034706e1cf743c1243ead100f..07312fb6f4d336567bfcc7a1e9e7c8f305525191 100644
|
| --- a/cc/trees/layer_tree_host.cc
|
| +++ b/cc/trees/layer_tree_host.cc
|
| @@ -1118,15 +1118,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();
|
|
|