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

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

Issue 1317243002: [VR, Permission] Use appopriate type parameters for WebCallbacks (1/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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
« no previous file with comments | « Source/modules/vr/VRGetDevicesCallback.h ('k') | Source/modules/vr/VRHardwareUnitCollection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/vr/VRGetDevicesCallback.cpp
diff --git a/Source/modules/vr/VRGetDevicesCallback.cpp b/Source/modules/vr/VRGetDevicesCallback.cpp
index 7ea610e742b0c4979f01ebd3882f31cfde47b6d8..4ee4dd37edda48e758a2a9e0b14c129ccac3c916 100644
--- a/Source/modules/vr/VRGetDevicesCallback.cpp
+++ b/Source/modules/vr/VRGetDevicesCallback.cpp
@@ -20,7 +20,7 @@ VRGetDevicesCallback::~VRGetDevicesCallback()
{
}
-void VRGetDevicesCallback::onSuccess(WebVector<WebVRDevice>* devices)
+void VRGetDevicesCallback::onSuccess(const WebVector<WebVRDevice>& devices)
{
m_resolver->resolve(m_hardwareUnits->updateVRHardwareUnits(devices));
}
« no previous file with comments | « Source/modules/vr/VRGetDevicesCallback.h ('k') | Source/modules/vr/VRHardwareUnitCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698