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

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

Issue 2856423002: input: Change how synthesized events are dispatched in telemetry tests. (Closed)
Patch Set: . Created 3 years, 7 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_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index cdc4c14b3148c5811e45e81f3e89224cc6eb94ef..c19aef23999748cea33724c4e669ff152a9eb349 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -658,7 +658,7 @@ void RenderWidgetHostViewAura::OnSetNeedsFlushInput() {
void RenderWidgetHostViewAura::OnBeginFrame(
const cc::BeginFrameArgs& args) {
needs_flush_input_ = false;
- host_->FlushInput();
+ host_->OnBeginFrame();
UpdateNeedsBeginFramesInternal();
host_->Send(new ViewMsg_BeginFrame(host_->GetRoutingID(), args));
}

Powered by Google App Engine
This is Rietveld 408576698