WebXR: Add XRViewData reference to XRView
The Blink WebXR code has two parallel classes. XRViewData corresponds to the internal "view" from the spec, and XRView is what is exposed to JS. XRViewData has session lifetime, while XRView is ephemeral and created per frame. This change adds a reference from the XRView to the underlying XRViewData object, as expected by the spec's algorithms. This requires making XRViewData and their containing list garbage-collected objects. Bug: 1133381 Change-Id: I696a1a899ab8fdf27a2107bbadeb61773c4ade84 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2438690Reviewed-by:Brandon Jones <bajones@chromium.org> Commit-Queue: Klaus Weidner <klausw@chromium.org> Cr-Commit-Position: refs/heads/master@{#812345}
Showing
Please register or sign in to comment