Null-check ImageBitmap's SkImage in texImage2D
This should guard against a crash. It's not clear exactly what the cause of this null is, but it's probably some kind of failure to allocate the SkImage (e.g. out-of-memory, GPU process loss, or other unpredictable failure case). Bug: 852303 Change-Id: I10a817f2dccd801f5834be343ad687af09e06721 Reviewed-on: https://chromium-review.googlesource.com/1188515Reviewed-by:Kenneth Russell <kbr@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Cr-Commit-Position: refs/heads/master@{#586085}
Showing
Please register or sign in to comment