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 8abf5cda03df426a8d82d7f74982f38d35b81302..16d9f700498e053775fe4bc5cee768a029b260ad 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -230,7 +230,8 @@ RenderWidgetHostImpl::RenderWidgetHostImpl(RenderWidgetHostDelegate* delegate, |
latency_tracker_.Initialize(routing_id_, GetProcess()->GetID()); |
input_router_.reset(new InputRouterImpl( |
- process_, this, this, routing_id_, GetInputRouterConfigForPlatform())); |
+ process_->GetImmediateSender(), this, this, routing_id_, |
+ GetInputRouterConfigForPlatform())); |
touch_emulator_.reset(); |
@@ -1346,7 +1347,8 @@ 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_, this, this, routing_id_, GetInputRouterConfigForPlatform())); |
+ process_->GetImmediateSender(), this, this, routing_id_, |
+ GetInputRouterConfigForPlatform())); |
synthetic_gesture_controller_.reset(); |
} |