Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 51c45460b378c2f15239fceba6f3b17969307127..08a1560797fbc815c6b422245aefe1e49c5d7e76 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -84,7 +84,6 @@ |
#include "modules/encryptedmedia/MediaKeysController.h" |
#include "modules/indexeddb/InspectorIndexedDBAgent.h" |
#include "modules/push_messaging/PushController.h" |
-#include "modules/screen_orientation/ScreenOrientationController.h" |
#include "platform/ContextMenu.h" |
#include "platform/ContextMenuItem.h" |
#include "platform/Cursor.h" |
@@ -428,8 +427,6 @@ WebViewImpl::WebViewImpl(WebViewClient* client) |
providePushControllerTo(*m_page, m_client->webPushClient()); |
setDeviceScaleFactor(m_client->screenInfo().deviceScaleFactor); |
setVisibilityState(m_client->visibilityState(), true); |
- if (RuntimeEnabledFeatures::screenOrientationEnabled()) |
- ScreenOrientationController::provideTo(*m_page, m_client->webScreenOrientationClient()); |
} |
m_inspectorSettingsMap = adoptPtr(new SettingsMap); |