| Index: third_party/WebKit/Source/modules/vr/NavigatorVR.cpp
|
| diff --git a/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp b/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp
|
| index a076fa5a003582cec64e1ae6b5230c459e563d32..1dfdcf8aa6251872048450abc7616396932df9e9 100644
|
| --- a/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp
|
| @@ -61,8 +61,7 @@ ScriptPromise NavigatorVR::getVRDisplays(ScriptState* scriptState) {
|
|
|
| UseCounter::count(*document, UseCounter::VRGetDisplays);
|
| ExecutionContext* executionContext = scriptState->getExecutionContext();
|
| - String errorMessage;
|
| - if (!executionContext->isSecureContext(errorMessage))
|
| + if (!executionContext->isSecureContext())
|
| UseCounter::count(*document, UseCounter::VRGetDisplaysInsecureOrigin);
|
|
|
| Platform::current()->recordRapporURL("VR.WebVR.GetDisplays", document->url());
|
|
|