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 072e8e7efbf2d6ae30186f8514e2d47b790961b8..928f7a7fd478a6527cf6b4ef56214e0ded9eaa15 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -2317,11 +2317,8 @@ |
accumulated_root_overscroll_ += unused_root_delta; |
bool did_overscroll = !unused_root_delta.IsZero(); |
if (did_overscroll && input_handler_client_) { |
- DidOverscrollParams params; |
- params.accumulated_overscroll = accumulated_root_overscroll_; |
- params.latest_overscroll_delta = unused_root_delta; |
- params.current_fling_velocity = current_fling_velocity_; |
- input_handler_client_->DidOverscroll(params); |
+ input_handler_client_->DidOverscroll(accumulated_root_overscroll_, |
+ unused_root_delta); |
} |
return did_scroll_content || did_scroll_top_controls; |
@@ -2384,7 +2381,6 @@ |
active_tree_->ClearCurrentlyScrollingLayer(); |
did_lock_scrolling_layer_ = false; |
accumulated_root_overscroll_ = gfx::Vector2dF(); |
- current_fling_velocity_ = gfx::Vector2dF(); |
} |
void LayerTreeHostImpl::ScrollEnd() { |
@@ -2413,11 +2409,6 @@ |
} |
return ScrollStarted; |
-} |
- |
-void LayerTreeHostImpl::NotifyCurrentFlingVelocity( |
- const gfx::Vector2dF& velocity) { |
- current_fling_velocity_ = velocity; |
} |
float LayerTreeHostImpl::DeviceSpaceDistanceToLayer( |