Chromium Code Reviews| 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 4899a6e35b7621d24b543680f2be578ca985b2f7..21bf0347941961f069e7ad92e0b260f92edd38b1 100644 |
| --- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
| +++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
| @@ -54,6 +54,7 @@ |
| #include "modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.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" |
| @@ -139,6 +140,8 @@ void FrameLoaderClientImpl::dispatchDidClearWindowObjectInMainWorld() |
| if (document) { |
| DeviceMotionController::from(*document); |
| DeviceOrientationController::from(*document); |
| + if (RuntimeEnabledFeatures::deviceOrientationAbsoluteEnabled()) |
| + DeviceOrientationAbsoluteController::from(*document); |
|
haraken
2015/10/29 14:15:11
If the runtime flag is enabled, won't it happen th
timvolodine
2015/10/29 19:34:33
If understand correctly the point about supplement
|
| if (RuntimeEnabledFeatures::deviceLightEnabled()) |
| DeviceLightController::from(*document); |
| NavigatorGamepad::from(*document); |