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 c505f90743d697c36f71a12d5dded42b06eab6f8..04e4f3ab733f2d6013f6f275ddf50f4a9bab3431 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -66,6 +66,7 @@ |
#include "content/browser/profiler_message_filter.h" |
#include "content/browser/renderer_host/clipboard_message_filter.h" |
#include "content/browser/renderer_host/database_message_filter.h" |
+#include "content/browser/renderer_host/device_motion_browser_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" |
@@ -679,6 +680,7 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
storage_partition_impl_->GetQuotaManager(), |
GetContentClient()->browser()->CreateQuotaPermissionContext())); |
channel_->AddFilter(new GamepadBrowserMessageFilter()); |
+ channel_->AddFilter(new DeviceMotionBrowserMessageFilter()); |
channel_->AddFilter(new ProfilerMessageFilter(PROCESS_TYPE_RENDERER)); |
channel_->AddFilter(new HistogramMessageFilter()); |
channel_->AddFilter(new HyphenatorMessageFilter(this)); |