commit | 79523901c9f5c753b515349748ea8fa3a32e793d | [log] [tgz] |
---|---|---|
author | brianosman <brianosman@google.com> | Wed Sep 28 13:03:05 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Sep 28 13:03:05 2016 -0700 |
tree | 47916828e7bb563bf0b111d77c593f4366e9c0a3 | |
parent | 808ecbb13578ada75e01fae0ff574b3a12df48a5 [diff] |
Make applyCropRect/pad_image convert to the output color space The source's color space may not be renderable, leading to makeSurface failing. This is unfortunate, but this solution is by far the simplest. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2380833002 Review-Url: https://codereview.chromium.org/2380833002