Index: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
index dc4a89304550f7109d07cdf86abfac92863ae16d..4a84dae49c1ee64ebd4af9fffbc69a50ec99cea6 100644 |
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
@@ -53,6 +53,7 @@ |
#include "core/page/WindowFeatures.h" |
#include "modules/device_light/DeviceLightController.h" |
#include "modules/device_orientation/DeviceMotionController.h" |
+#include "modules/device_orientation/DeviceOrientationAbsoluteController.h" |
#include "modules/device_orientation/DeviceOrientationController.h" |
#include "modules/encryptedmedia/HTMLMediaElementEncryptedMedia.h" |
#include "modules/gamepad/NavigatorGamepad.h" |
@@ -138,6 +139,7 @@ void FrameLoaderClientImpl::dispatchDidClearWindowObjectInMainWorld() |
if (document) { |
DeviceMotionController::from(*document); |
DeviceOrientationController::from(*document); |
+ DeviceOrientationAbsoluteController::from(*document); |
if (RuntimeEnabledFeatures::deviceLightEnabled()) |
DeviceLightController::from(*document); |
NavigatorGamepad::from(*document); |