Typemap SkColorType and SkAlphaType.
Use the typemapping system rather than one-off functions to perform the conversion. This brings the Skia code into alignment with Mojo IPC best practices: Among other things, this lets conversion between the Mojo and Skia types to signal deserialization failure when appropriate. Bug: 1144462 Change-Id: Id35c3f1d84907e28b39c29da27a84e3c2a7a8c72 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2521221Reviewed-by:danakj <danakj@chromium.org> Reviewed-by:
Mike Klein <mtklein@google.com> Commit-Queue: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#825135}
Showing
Please register or sign in to comment