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