Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(634)

Unified Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 52663003: Remove all fling related stuff from the renderer assuming that browser side Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index 4c4bc4b53a61507e876a477df3f4aff77e254b3c..fb4ab89068cf6bf4f0e6793fe5c20138db0903c2 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -1555,10 +1555,9 @@ bool RenderWidgetHostImpl::OnSwapCompositorFrame(
}
void RenderWidgetHostImpl::OnOverscrolled(
- gfx::Vector2dF accumulated_overscroll,
- gfx::Vector2dF current_fling_velocity) {
+ gfx::Vector2dF accumulated_overscroll) {
if (view_)
- view_->OnOverscrolled(accumulated_overscroll, current_fling_velocity);
+ view_->OnOverscrolled(accumulated_overscroll, gfx::Vector2dF());
}
void RenderWidgetHostImpl::OnUpdateRect(
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.h ('k') | content/child/android/child_jni_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698