| 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 1bab60542fc5d153cd50b62e4bd07b07edec8fcc..0ec98aacaea05e9379fc2102ccacb4c90b74bd95 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"
|
| @@ -136,6 +137,8 @@ void FrameLoaderClientImpl::dispatchDidClearWindowObjectInMainWorld()
|
| if (document) {
|
| DeviceMotionController::from(*document);
|
| DeviceOrientationController::from(*document);
|
| + if (RuntimeEnabledFeatures::deviceOrientationAbsoluteEnabled())
|
| + DeviceOrientationAbsoluteController::from(*document);
|
| if (RuntimeEnabledFeatures::deviceLightEnabled())
|
| DeviceLightController::from(*document);
|
| NavigatorGamepad::from(*document);
|
|
|