| Index: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.cpp
|
| diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.cpp
|
| index 4683ffa0566822f1bb9f71f568cd3eda30a11f2d..7703574c4c65d029d30132535ca34c8c0862da81 100644
|
| --- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.cpp
|
| +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.cpp
|
| @@ -42,8 +42,7 @@ void DeviceOrientationAbsoluteController::didAddEventListener(
|
| return;
|
|
|
| if (document().frame()) {
|
| - String errorMessage;
|
| - if (document().isSecureContext(errorMessage)) {
|
| + if (document().isSecureContext()) {
|
| UseCounter::count(document().frame(),
|
| UseCounter::DeviceOrientationAbsoluteSecureOrigin);
|
| } else {
|
|
|