Fix the crash in ImageDataInCanvasColorSettings
Passing an ImageData that is created from U16/F32 data but does not have a color settings to ImageDataInCanvasColorSettings results in a crash. This change temporarily fixes this until the proper color space (extended-srgb) is provided. Bug: 779419 Change-Id: I491fa86f53b73473cba514512e64de69db49fc91 Reviewed-on: https://chromium-review.googlesource.com/743804Reviewed-by:Fernando Serboncini <fserb@chromium.org> Reviewed-by:
Justin Novosad <junov@chromium.org> Commit-Queue: Mohammad Reza Zakerinasab <zakerinasab@chromium.org> Cr-Commit-Position: refs/heads/master@{#512565}
Showing
Please register or sign in to comment