Fixing issue dereferencing skImage
When we transferToImageBitmap and we do a flush in the Snapshot, it can be that the skImage was null due to some issue. We are adding a new check to ensure that we are not returning a null skImage contained in a valid imagebitmap. Bug: 980057 Change-Id: I91e6b1688ec54b6029bcdd051db3d045421786cc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1811157Reviewed-by:Fernando Serboncini <fserb@chromium.org> Commit-Queue: Juanmi Huertas <juanmihd@chromium.org> Cr-Commit-Position: refs/heads/master@{#697787}
Showing
Please register or sign in to comment