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 ec59daebabffa8e7d12aef3499182558636e0290..cbcbef93e4fce33cff86054717030f1bcbca5198 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -1927,7 +1927,7 @@ void LayerTreeHostImpl::ScrollEnd() { |
if (top_controls_manager_) |
top_controls_manager_->ScrollEnd(); |
ClearCurrentlyScrollingLayer(); |
- StartScrollbarAnimation(CurrentFrameTimeTicks()); |
+ StartScrollbarAnimation(); |
} |
InputHandler::ScrollStatus LayerTreeHostImpl::FlingScrollBegin() { |
@@ -2199,9 +2199,9 @@ void LayerTreeHostImpl::AnimateScrollbarsRecursive(LayerImpl* layer, |
AnimateScrollbarsRecursive(layer->children()[i], time); |
} |
-void LayerTreeHostImpl::StartScrollbarAnimation(base::TimeTicks time) { |
+void LayerTreeHostImpl::StartScrollbarAnimation() { |
TRACE_EVENT0("cc", "LayerTreeHostImpl::StartScrollbarAnimation"); |
- StartScrollbarAnimationRecursive(RootLayer(), time); |
+ StartScrollbarAnimationRecursive(RootLayer(), base::TimeTicks::Now()); |
} |
void LayerTreeHostImpl::StartScrollbarAnimationRecursive(LayerImpl* layer, |