Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 0b575b54dc56cd0683077024e1d55edf080b919b..afbd2d60a5ce300a056865a71e5dc663b0a194fa 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" |
@@ -430,8 +429,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); |