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

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

Issue 2068343003: Revert "Send input event IPCs directly from the UI thread" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 dd81f2741e3b09173e17e8d8e32a61f2b3ff50a7..a5ab74c85d2d3e524521fb604d00eefa4b4bec0c 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -233,8 +233,7 @@ RenderWidgetHostImpl::RenderWidgetHostImpl(RenderWidgetHostDelegate* delegate,
latency_tracker_.Initialize(routing_id_, GetProcess()->GetID());
input_router_.reset(new InputRouterImpl(
- process_->GetImmediateSender(), this, this, routing_id_,
- GetInputRouterConfigForPlatform()));
+ process_, this, this, routing_id_, GetInputRouterConfigForPlatform()));
touch_emulator_.reset();
@@ -1381,8 +1380,7 @@ void RenderWidgetHostImpl::RendererExited(base::TerminationStatus status,
// event. (In particular, the above call to view_->RenderProcessGone will
// destroy the aura window, which may dispatch a synthetic mouse move.)
input_router_.reset(new InputRouterImpl(
- process_->GetImmediateSender(), this, this, routing_id_,
- GetInputRouterConfigForPlatform()));
+ process_, this, this, routing_id_, GetInputRouterConfigForPlatform()));
synthetic_gesture_controller_.reset();
}
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/public/browser/render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698