| 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 f2044601acc6500f832e100467e876fa5898e84a..52d6e60fbfd87c8f0a41225f8ec694779a042db9 100644
|
| --- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp
|
| +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp
|
| @@ -43,8 +43,7 @@ void DeviceMotionController::didAddEventListener(
|
| return;
|
|
|
| if (document().frame()) {
|
| - String errorMessage;
|
| - if (document().isSecureContext(errorMessage)) {
|
| + if (document().isSecureContext()) {
|
| UseCounter::count(document().frame(),
|
| UseCounter::DeviceMotionSecureOrigin);
|
| } else {
|
|
|