mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
32f32b7a86
This change fixes a compiler warning, where a VRSensorState object is returned on the stack as a rather large object. To address this warning, the return type of VRDisplayExternal::GetSensorState now returns a const reference to the member. The rest of the change are updates to uphold the new constness. Differential Revision: https://phabricator.services.mozilla.com/D13586 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
test | ||
moz.build | ||
VRDisplay.cpp | ||
VRDisplay.h | ||
VRDisplayEvent.cpp | ||
VRDisplayEvent.h | ||
VREventObserver.cpp | ||
VREventObserver.h | ||
VRServiceTest.cpp | ||
VRServiceTest.h |