Index: Source/web/FrameLoaderClientImpl.cpp |
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp |
index 26bddc947efb1ebec2c4eea451e452f34bc9ede9..e7dbb16b533f670d80cd7a05928c0631dce79627 100644 |
--- a/Source/web/FrameLoaderClientImpl.cpp |
+++ b/Source/web/FrameLoaderClientImpl.cpp |
@@ -76,6 +76,7 @@ |
#include "core/rendering/HitTestResult.h" |
#include "modules/device_orientation/DeviceMotionController.h" |
#include "modules/device_orientation/DeviceOrientationController.h" |
+#include "modules/screen_orientation/ScreenOrientationController.h" |
#include "platform/MIMETypeRegistry.h" |
#include "platform/UserGestureIndicator.h" |
#include "platform/exported/WrappedResourceRequest.h" |
@@ -121,6 +122,8 @@ void FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld(DOMWrapperWorld* |
DeviceMotionController::from(document); |
if (RuntimeEnabledFeatures::deviceOrientationEnabled()) |
DeviceOrientationController::from(document); |
+ if (RuntimeEnabledFeatures::screenOrientationEnabled()) |
+ ScreenOrientationController::from(document); |
abarth-chromium
2014/02/19 18:51:49
Is this necessary? This means we'll always boot u
Inactive
2014/02/19 19:04:51
Yes, I need to make sure we construct the ScreenOr
|
} |
} |
} |