| Index: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp
|
| diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp
|
| index 0390ae33f29989458d08b3a3603224d64a819f24..35b1c813d5529e1100c68def7bdc95ff40f97151 100644
|
| --- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp
|
| +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp
|
| @@ -61,7 +61,10 @@ void DeviceOrientationController::didAddEventListener(
|
| HostsUsingFeatures::countAnyWorld(
|
| document(),
|
| HostsUsingFeatures::Feature::DeviceOrientationInsecureHost);
|
| - if (document().frame()->settings()->strictPowerfulFeatureRestrictions())
|
| + if (document()
|
| + .frame()
|
| + ->settings()
|
| + ->getStrictPowerfulFeatureRestrictions())
|
| return;
|
| }
|
| }
|
|
|