Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(662)

Unified Diff: third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.cpp

Issue 1967633002: Updated VRService to match the latest Blink WebVR interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: And we're back to removing all the array size checks Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 10fdfa2f4ca605e79728429f17bc41472d2bbd12..7ea8e24bf451037770b4d72a67cdda2558f2c8f8 100644
--- a/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.cpp
+++ b/third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.cpp
@@ -19,9 +19,9 @@ VRGetDevicesCallback::~VRGetDevicesCallback()
{
}
-void VRGetDevicesCallback::onSuccess(mojo::WTFArray<mojom::blink::VRDeviceInfoPtr> devices)
+void VRGetDevicesCallback::onSuccess(mojo::WTFArray<mojom::blink::VRDisplayPtr> displays)
{
- m_resolver->resolve(m_displays->updateDisplays(std::move(devices)));
+ m_resolver->resolve(m_displays->updateDisplays(std::move(displays)));
}
void VRGetDevicesCallback::onError()
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.h ('k') | third_party/WebKit/Source/modules/vr/VRPose.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698