| Index: third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.cpp
|
| diff --git a/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.cpp b/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.cpp
|
| index 3fd4469a20b79e3aa2e8e6f8495650d90e2d4bf3..e5171217b39e7d210321f63c509e3454328ed1d5 100644
|
| --- a/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.cpp
|
| @@ -5,13 +5,11 @@
|
| #include "modules/vr/VRGetDevicesCallback.h"
|
|
|
| #include "bindings/core/v8/ScriptPromiseResolver.h"
|
| -#include "modules/vr/VRDisplayCollection.h"
|
|
|
| namespace blink {
|
|
|
| -VRGetDevicesCallback::VRGetDevicesCallback(ScriptPromiseResolver* resolver, VRDisplayCollection* displays)
|
| +VRGetDevicesCallback::VRGetDevicesCallback(ScriptPromiseResolver* resolver)
|
| : m_resolver(resolver)
|
| - , m_displays(displays)
|
| {
|
| }
|
|
|
| @@ -19,9 +17,9 @@ VRGetDevicesCallback::~VRGetDevicesCallback()
|
| {
|
| }
|
|
|
| -void VRGetDevicesCallback::onSuccess(mojo::WTFArray<device::blink::VRDisplayPtr> displays)
|
| +void VRGetDevicesCallback::onSuccess(VRDisplayVector displays)
|
| {
|
| - m_resolver->resolve(m_displays->updateDisplays(std::move(displays)));
|
| + m_resolver->resolve(displays);
|
| }
|
|
|
| void VRGetDevicesCallback::onError()
|
|
|