[webcodecs] Fix crash in VideoFrame.createImageBitmap() in workers
Without access to the shared main thread context, VideoFrame.createImageBitmap() is unable to handle texture-backed frames. This CL does not fix the issue, but it does change it from a check failure to a DOMException. Bug: 1148849 Change-Id: I3f8c292022dc3cb8fd6625591d2384511e253ac2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2552901 Commit-Queue: Dan Sanders <sandersd@chromium.org> Commit-Queue: Chrome Cunningham <chcunningham@chromium.org> Auto-Submit: Dan Sanders <sandersd@chromium.org> Reviewed-by:Chrome Cunningham <chcunningham@chromium.org> Cr-Commit-Position: refs/heads/master@{#829865}
Showing
Please register or sign in to comment