WebXR: make tracked image attributes required
The attributes were defaulting to optional, leading to invalid access. Mark as required in IDL and add an additional check to enforce a positive number for widthInMeters. Bug: 1151619 Change-Id: Ib2353478f93330d76072b9bfc69bc189bc5523aa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2556918 Commit-Queue: Klaus Weidner <klausw@chromium.org> Reviewed-by:Alexander Cooper <alcooper@chromium.org> Cr-Commit-Position: refs/heads/master@{#830693}
Showing
Please register or sign in to comment