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 c629485f9059f0cd40fdcc431afc5543dfdf0eae..e1d70d56458d498bc8e0342618be491d4e232376 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -153,6 +153,7 @@ |
#if defined(OS_ANDROID) |
#include "content/browser/media/android/browser_demuxer_android.h" |
#include "content/browser/renderer_host/compositor_impl_android.h" |
+#include "content/browser/screen_orientation/screen_orientation_message_filter_android.h" |
#include "content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h" |
#endif |
@@ -886,6 +887,9 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
AddFilter(new PushMessagingMessageFilter( |
GetID(), storage_partition_impl_->GetServiceWorkerContext())); |
AddFilter(new BatteryStatusMessageFilter()); |
+#if defined(OS_ANDROID) |
+ AddFilter(new ScreenOrientationMessageFilterAndroid()); |
+#endif |
} |
int RenderProcessHostImpl::GetNextRoutingID() { |