-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When serializing an ImageBitmap, we coerce its SkColorSpace into a PredefinedColorSpace enum. This has historically not caused too many problems, because loading an image using the ImageBitmap API would automatically convert the image to sRGB. This bug is being fixed, and the conversion is delayed until needed (if ever). As a consequence of fixing the image color space bug, many diverse SkColorSpaces are being put into ImageBitmaps. We need to be able to accurately serialize these spaces when serializing the ImageBitmaps. Bug: 1310811 Change-Id: I530d4268d45c548524c57554fc1cfbd70f95e9fa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3562229 Reviewed-by: Jeremy Roman <jbroman@chromium.org> Commit-Queue: ccameron chromium <ccameron@chromium.org> Cr-Commit-Position: refs/heads/main@{#988161}
- Loading branch information
1 parent
60a7d99
commit 0dd688f
Showing
4 changed files
with
125 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters