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 abfe797a23af8a6703ede28435e69e6407cbb587..83d7e929dc55889b3f36d4d6d3bcb383ecb2c4f9 100644 |
--- a/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.cpp |
+++ b/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.cpp |
@@ -5,13 +5,13 @@ |
#include "modules/vr/VRGetDevicesCallback.h" |
#include "bindings/core/v8/ScriptPromiseResolver.h" |
-#include "modules/vr/VRHardwareUnitCollection.h" |
+#include "modules/vr/VRDisplayCollection.h" |
namespace blink { |
-VRGetDevicesCallback::VRGetDevicesCallback(ScriptPromiseResolver* resolver, VRHardwareUnitCollection* hardwareUnits) |
+VRGetDevicesCallback::VRGetDevicesCallback(ScriptPromiseResolver* resolver, VRDisplayCollection* displays) |
: m_resolver(resolver) |
- , m_hardwareUnits(hardwareUnits) |
+ , m_displays(displays) |
{ |
} |
@@ -21,7 +21,7 @@ VRGetDevicesCallback::~VRGetDevicesCallback() |
void VRGetDevicesCallback::onSuccess(const WebVector<WebVRDevice>& devices) |
{ |
- m_resolver->resolve(m_hardwareUnits->updateVRHardwareUnits(devices)); |
+ m_resolver->resolve(m_displays->updateDisplays(devices)); |
} |
void VRGetDevicesCallback::onError() |