[sharedarraybuffer][wasm] Fix SAB restriction at process start
- Simplify the code to improve readability. - Correctly enables SABs at render process start in case we have the COI bit. Bug: chromium:923807 Change-Id: I4f52ec30f76864200f8a92f109603b59eb11c8da Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2582358Reviewed-by:Camille Lamy <clamy@chromium.org> Reviewed-by:
Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: Bill Budge <bbudge@chromium.org> Cr-Commit-Position: refs/heads/master@{#837083}
Showing
Please register or sign in to comment