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 c272ef9318bf2d8bf1cec7faf5f6fc58fd6c282c..4db365c595653115d6865f246ee6fb5f02c266d9 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -43,6 +43,8 @@ |
#include "content/browser/browser_plugin/browser_plugin_geolocation_permission_context.h" |
#include "content/browser/browser_plugin/browser_plugin_message_filter.h" |
#include "content/browser/child_process_security_policy_impl.h" |
+#include "content/browser/device_orientation/device_motion_message_filter.h" |
+#include "content/browser/device_orientation/device_orientation_message_filter.h" |
#include "content/browser/device_orientation/orientation_message_filter.h" |
#include "content/browser/dom_storage/dom_storage_context_impl.h" |
#include "content/browser/dom_storage/dom_storage_message_filter.h" |
@@ -66,7 +68,6 @@ |
#include "content/browser/quota_dispatcher_host.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" |
@@ -718,7 +719,8 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
storage_partition_impl_->GetQuotaManager(), |
GetContentClient()->browser()->CreateQuotaPermissionContext())); |
channel_->AddFilter(new GamepadBrowserMessageFilter()); |
- channel_->AddFilter(new DeviceMotionBrowserMessageFilter()); |
+ channel_->AddFilter(new DeviceMotionMessageFilter()); |
+ channel_->AddFilter(new DeviceOrientationMessageFilter()); |
channel_->AddFilter(new ProfilerMessageFilter(PROCESS_TYPE_RENDERER)); |
channel_->AddFilter(new HistogramMessageFilter()); |
channel_->AddFilter(new HyphenatorMessageFilter(this)); |