Index: content/browser/renderer_host/render_widget_host_view_android.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc |
index 7aa1ef1d6cd6c4e299354cbb3aab5464cf0089ba..ae0ecf8d79dcd5ed27c74a9c0f3125cfb5d4ffc4 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_android.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc |
@@ -824,6 +824,10 @@ void RenderWidgetHostViewAndroid::ResetGestureDetection() { |
gesture_provider_.ResetDetection(); |
} |
+void RenderWidgetHostViewAndroid::OnDidNavigateMainFrameToNewPage() { |
+ ResetGestureDetection(); |
+} |
+ |
void RenderWidgetHostViewAndroid::SetDoubleTapSupportEnabled(bool enabled) { |
gesture_provider_.SetDoubleTapSupportForPlatformEnabled(enabled); |
} |