Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 9f6ead2c45afab29758b3f8eebdc4f99dd38a2de..b76a165fd9077689a1cc15ed9c035d3a99c775bc 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -45,6 +45,7 @@ |
#include "content/browser/renderer_host/render_view_host_impl.h" |
#include "content/browser/renderer_host/render_widget_host_impl.h" |
#include "content/browser/renderer_host/render_widget_host_view_base.h" |
+#include "content/browser/screen_orientation/screen_orientation_dispatcher_host.h" |
#include "content/browser/site_instance_impl.h" |
#include "content/browser/web_contents/web_contents_view_guest.h" |
#include "content/browser/webui/generic_handler.h" |
@@ -1097,6 +1098,9 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params) { |
geolocation_dispatcher_host_.reset(new GeolocationDispatcherHost(this)); |
midi_dispatcher_host_.reset(new MidiDispatcherHost(this)); |
+ screen_orientation_dispatcher_host_.reset( |
+ new ScreenOrientationDispatcherHost(this)); |
+ |
#if defined(OS_ANDROID) |
date_time_chooser_.reset(new DateTimeChooserAndroid()); |
#endif |