| Index: third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| diff --git a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| index debe0fbb00e63bdbc73428496e02b74aa827bdb2..f4ed320cc08a64a6e4e702780e0f580cb96d374d 100644
|
| --- a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| @@ -283,8 +283,7 @@ ScriptPromise VRDisplay::requestPresent(ScriptState* scriptState,
|
| const HeapVector<VRLayer>& layers) {
|
| ExecutionContext* executionContext = scriptState->getExecutionContext();
|
| UseCounter::count(executionContext, UseCounter::VRRequestPresent);
|
| - String errorMessage;
|
| - if (!executionContext->isSecureContext(errorMessage)) {
|
| + if (!executionContext->isSecureContext()) {
|
| UseCounter::count(executionContext,
|
| UseCounter::VRRequestPresentInsecureOrigin);
|
| }
|
|
|