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; |