Index: Source/web/FrameLoaderClientImpl.cpp |
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp |
index 686b8f4cdf7728c446ba95a9727fca17805c53b9..79a34152eeb7f86fe59e87e1447d4650a177b5f1 100644 |
--- a/Source/web/FrameLoaderClientImpl.cpp |
+++ b/Source/web/FrameLoaderClientImpl.cpp |
@@ -57,7 +57,6 @@ |
#include "modules/device_orientation/DeviceMotionController.h" |
#include "modules/device_orientation/DeviceOrientationController.h" |
#include "modules/gamepad/NavigatorGamepad.h" |
-#include "modules/screen_orientation/ScreenOrientationController.h" |
#include "modules/serviceworkers/NavigatorServiceWorker.h" |
#include "platform/MIMETypeRegistry.h" |
#include "platform/UserGestureIndicator.h" |
@@ -125,8 +124,6 @@ void FrameLoaderClientImpl::dispatchDidClearWindowObjectInMainWorld() |
DeviceOrientationController::from(*document); |
if (RuntimeEnabledFeatures::deviceLightEnabled()) |
DeviceLightController::from(*document); |
- if (RuntimeEnabledFeatures::screenOrientationEnabled()) |
- ScreenOrientationController::from(*document); |
if (RuntimeEnabledFeatures::gamepadEnabled()) |
NavigatorGamepad::from(*document); |
if (RuntimeEnabledFeatures::serviceWorkerEnabled()) |