summaryrefslogtreecommitdiffstats
path: root/content/browser/android/in_process/synchronous_compositor_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/android/in_process/synchronous_compositor_impl.cc')
-rw-r--r--content/browser/android/in_process/synchronous_compositor_impl.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/content/browser/android/in_process/synchronous_compositor_impl.cc b/content/browser/android/in_process/synchronous_compositor_impl.cc
index 97b785ad..f3c1b63 100644
--- a/content/browser/android/in_process/synchronous_compositor_impl.cc
+++ b/content/browser/android/in_process/synchronous_compositor_impl.cc
@@ -214,11 +214,10 @@ void SynchronousCompositorImpl::SetInputHandler(
}
void SynchronousCompositorImpl::DidOverscroll(
- gfx::Vector2dF accumulated_overscroll,
- gfx::Vector2dF current_fling_velocity) {
+ const cc::DidOverscrollParams& params) {
if (compositor_client_) {
- compositor_client_->DidOverscroll(accumulated_overscroll,
- current_fling_velocity);
+ compositor_client_->DidOverscroll(params.latest_overscroll_delta,
+ params.current_fling_velocity);
}
}