diff --git a/device/vr/openxr/openxr_render_loop.h b/device/vr/openxr/openxr_render_loop.h index e7c492c915a22..365875c737b4f 100644 --- a/device/vr/openxr/openxr_render_loop.h +++ b/device/vr/openxr/openxr_render_loop.h @@ -322,7 +322,7 @@ class OpenXrRenderLoop : public XRThread, mojom::XRVisibilityState visibility_state_ = mojom::XRVisibilityState::VISIBLE; mojom::VRStageParametersPtr current_stage_parameters_; - uint32_t stage_parameters_id_; + uint32_t stage_parameters_id_ = 0; // Lifetime of the platform helper is guaranteed by the OpenXrDevice. raw_ptr platform_helper_;