| 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 b3bce61997bc4105bd15648a9063121f75f0ef60..007409b9aa62cbddacb74d7516019389d867edd6 100644
|
| --- a/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| @@ -47,7 +47,7 @@ void VRController::getDisplays(std::unique_ptr<VRGetDevicesCallback> callback)
|
| }
|
|
|
| m_pendingGetDevicesCallbacks.append(std::move(callback));
|
| - m_service->GetDisplays(createBaseCallback(bind<mojo::WTFArray<device::blink::VRDisplayPtr>>(&VRController::onGetDisplays, this)));
|
| + m_service->GetDisplays(createBaseCallback(bind<mojo::WTFArray<device::blink::VRDisplayPtr>>(&VRController::onGetDisplays, wrapPersistent(this))));
|
| }
|
|
|
| device::blink::VRPosePtr VRController::getPose(unsigned index)
|
|
|