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 a1ec170087aa7abbc5ebc39657a9bbfb99f557a3..d63f7767e0e750b70eea16f74f2598284ef81ee2 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -52,6 +52,7 @@ |
#include "content/browser/renderer_host/clipboard_message_filter.h" |
#include "content/browser/renderer_host/database_message_filter.h" |
#include "content/browser/renderer_host/file_utilities_message_filter.h" |
+#include "content/browser/renderer_host/gamepad_browser_message_filter.h" |
#include "content/browser/renderer_host/gpu_message_filter.h" |
#include "content/browser/renderer_host/media/audio_input_renderer_host.h" |
#include "content/browser/renderer_host/media/audio_renderer_host.h" |
@@ -532,6 +533,7 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
channel_->AddFilter(new QuotaDispatcherHost( |
GetID(), GetBrowserContext()->GetQuotaManager(), |
content::GetContentClient()->browser()->CreateQuotaPermissionContext())); |
+ channel_->AddFilter(new GamepadBrowserMessageFilter); |
} |
int RenderProcessHostImpl::GetNextRoutingID() { |