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 1f24f20d221a8f5a7bfdd708dba304f70ae7d6cb..5f5a72ed0e2f919b5d62dfa9d31400c4971735ea 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" |
@@ -708,6 +709,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)); |