commit | 8546335d2d40c31e7c3a3672aad583ccf08beff3 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Mon Feb 04 15:22:10 2019 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Feb 22 18:58:05 2019 +0000 |
tree | 6b56aaf132e62b6bc4d965877077a347b0a78700 | |
parent | 9320d579e5152b78de1d61811db1ff98b2212d10 [diff] |
Allow setting an SkColorSpace on SkAnimatedImage Add a new constructor which merges the SkISize scaledSize with the SkImageInfo. This allows passing an SkColorSpace to the decode. Update the test to call the new API. Bug: b/123301872 Change-Id: I9fd89198e97ac9b8e6dc9fcfe89ed38913a0fe69 Reviewed-on: https://skia-review.googlesource.com/c/189303 Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com>