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 88814324217234f20990c8dade3acc11dc3030a5..5ff62616c9df11e922b54dedb9c2d5df27c02abe 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -101,6 +101,7 @@ |
#include "content/browser/storage_partition_impl.h" |
#include "content/browser/streams/stream_context.h" |
#include "content/browser/tracing/trace_message_filter.h" |
+#include "content/browser/vibration/vibration_dispatcher_host.h" |
#include "content/browser/webui/web_ui_controller_factory_registry.h" |
#include "content/browser/worker_host/worker_message_filter.h" |
#include "content/browser/worker_host/worker_storage_partition.h" |
@@ -710,9 +711,7 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
switches::kEnableMemoryBenchmarking)) |
AddFilter(new MemoryBenchmarkMessageFilter()); |
#endif |
-#if defined(OS_ANDROID) |
- AddFilter(new VibrationMessageFilter()); |
-#endif |
+ AddFilter(VibrationDispatcherHost::New()); |
} |
int RenderProcessHostImpl::GetNextRoutingID() { |