Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 43929cb59401b5e1b3cdfa1965e80727037fc43d..6e6a750b214cc9a6aeca474431f825c147f2b7a8 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -837,7 +837,7 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
GetID(), |
storage_partition_impl_->GetQuotaManager(), |
GetContentClient()->browser()->CreateQuotaPermissionContext())); |
- AddFilter(new GamepadBrowserMessageFilter()); |
+ AddFilter(new GamepadBrowserMessageFilter(this)); |
AddFilter(new DeviceMotionMessageFilter()); |
AddFilter(new DeviceOrientationMessageFilter()); |
AddFilter(new ProfilerMessageFilter(PROCESS_TYPE_RENDERER)); |