commit | 9a5a201472c3fb9f02b954ba09ae1ec13ebd50f4 | [log] [tgz] |
---|---|---|
author | reed <reed@google.com> | Mon Aug 08 09:00:29 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Aug 08 09:00:29 2016 -0700 |
tree | 33cf2936a48662b59132bc364ef21d67a7416d1a | |
parent | b9a10d8c75bfff7bfe9cbb4f74c71ac3494d418b [diff] |
use onPeekBitmap instead of asLegacyBitmap Since we know we are raster-backed at this point, it is fine, plus it avoids the copy-mutable logic in asLegacyBitmap, which is not needed here (and is slower if our bitmap was built with kNever_SkCopyPixelsMode). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2223653002 Review-Url: https://codereview.chromium.org/2223653002