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

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

Issue 1906883002: [Do Not Commit] Migrate vr service from content/renderer/ to WebKit/platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/VRHardwareUnit.cpp
diff --git a/third_party/WebKit/Source/modules/vr/VRHardwareUnit.cpp b/third_party/WebKit/Source/modules/vr/VRHardwareUnit.cpp
index fda64c730f57fdb87f80cb6b21f38e4d8ab055bc..b124ade5ee9ce42f85d2f93b01fa98ae71e41413 100644
--- a/third_party/WebKit/Source/modules/vr/VRHardwareUnit.cpp
+++ b/third_party/WebKit/Source/modules/vr/VRHardwareUnit.cpp
@@ -78,7 +78,7 @@ VRPositionState* VRHardwareUnit::getSensorState()
VRPositionState* VRHardwareUnit::getImmediateSensorState(bool updateFrameIndex)
{
WebHMDSensorState state;
- controller()->getSensorState(m_index, state);
+ controller()->getSensorState(m_index, &state);
if (updateFrameIndex)
m_frameIndex = state.frameIndex;
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.h ('k') | third_party/WebKit/Source/modules/vr/VRTypeConverters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698