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 f152c57916ac229b736484ec5016bb1406c4f327..ff88b56e6c230abba68e9e77398cc80176b6992c 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -187,7 +187,6 @@ RenderWidgetHostImpl::RenderWidgetHostImpl(RenderWidgetHostDelegate* delegate, |
suppress_next_char_events_(false), |
pending_mouse_lock_request_(false), |
allow_privileged_mouse_lock_(false), |
- has_touch_handler_(false), |
last_input_number_(static_cast<int64>(GetProcess()->GetID()) << 32), |
next_browser_snapshot_id_(1), |
browser_composite_latency_history_(kBrowserCompositeLatencyHistorySize), |
@@ -393,7 +392,7 @@ void RenderWidgetHostImpl::SuppressNextCharEvents() { |
} |
void RenderWidgetHostImpl::FlushInput() { |
- input_router_->Flush(); |
+ input_router_->RequestFlushedNotification(); |
if (synthetic_gesture_controller_) |
synthetic_gesture_controller_->Flush(base::TimeTicks::Now()); |
} |
@@ -1855,15 +1854,9 @@ void RenderWidgetHostImpl::DecrementInFlightEventCount() { |
} |
} |
-void RenderWidgetHostImpl::OnHasTouchEventHandlers(bool has_handlers) { |
- has_touch_handler_ = has_handlers; |
-} |
- |
void RenderWidgetHostImpl::DidFlush() { |
if (synthetic_gesture_controller_) |
synthetic_gesture_controller_->OnDidFlushInput(); |
- if (view_) |
- view_->OnDidFlushInput(); |
} |
void RenderWidgetHostImpl::DidOverscroll(const DidOverscrollParams& params) { |