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 9a1f4b09c38beb9d1633cc2640b1f1b3186fcf4c..864da7c39364c2887ed3b3bd25d2f03ee85d67af 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -1790,8 +1790,10 @@ InputEventAckState RenderWidgetHostImpl::FilterInputEvent( |
if (!process_->HasConnection()) |
return INPUT_EVENT_ACK_STATE_UNKNOWN; |
- if (event.type == WebInputEvent::MouseDown) |
+ if (event.type == WebInputEvent::MouseDown || |
+ event.type == WebInputEvent::GestureTapDown) { |
OnUserGesture(); |
+ } |
return view_ ? view_->FilterInputEvent(event) |
: INPUT_EVENT_ACK_STATE_NOT_CONSUMED; |