| Index: third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp
|
| diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp
|
| index 52d6e60fbfd87c8f0a41225f8ec694779a042db9..be924b03e23939b72649be7020531ff66841dc55 100644
|
| --- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp
|
| +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp
|
| @@ -51,7 +51,10 @@ void DeviceMotionController::didAddEventListener(
|
| UseCounter::DeviceMotionInsecureOrigin);
|
| HostsUsingFeatures::countAnyWorld(
|
| document(), HostsUsingFeatures::Feature::DeviceMotionInsecureHost);
|
| - if (document().frame()->settings()->strictPowerfulFeatureRestrictions())
|
| + if (document()
|
| + .frame()
|
| + ->settings()
|
| + ->GetStrictPowerfulFeatureRestrictions())
|
| return;
|
| }
|
| }
|
|
|