| Index: third_party/WebKit/Source/modules/vr/VRController.cpp
|
| diff --git a/third_party/WebKit/Source/modules/vr/VRController.cpp b/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| index 48635b8115b27556955cbafcf94327d32334128b..1b7aadeb1ffa683a98aa87a459272a553629ff5b 100644
|
| --- a/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| @@ -58,7 +58,7 @@ void VRController::resetPose(unsigned index)
|
| m_service->ResetPose(index);
|
| }
|
|
|
| -void VRController::requestPresent(ScriptPromiseResolver* resolver, unsigned index)
|
| +void VRController::requestPresent(ScriptPromiseResolver* resolver, unsigned index, bool secureOrigin)
|
| {
|
| if (!m_service) {
|
| DOMException* exception = DOMException::create(InvalidStateError, "The service is no longer active.");
|
| @@ -66,7 +66,7 @@ void VRController::requestPresent(ScriptPromiseResolver* resolver, unsigned inde
|
| return;
|
| }
|
|
|
| - m_service->RequestPresent(index, convertToBaseCallback(WTF::bind(&VRController::onPresentComplete, wrapPersistent(this), wrapPersistent(resolver), index)));
|
| + m_service->RequestPresent(index, secureOrigin, convertToBaseCallback(WTF::bind(&VRController::onPresentComplete, wrapPersistent(this), wrapPersistent(resolver), index)));
|
| }
|
|
|
| void VRController::exitPresent(unsigned index)
|
|
|