commit | 989f5bfb8f01fe73aa2671aa0cc65028b6c86129 | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@google.com> | Wed Oct 07 10:11:50 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Oct 07 16:13:13 2020 +0000 |
tree | fe29860394a98bda9895565d0f79c16976fff7d5 | |
parent | b1807129a62889c6bb3fa600f177e3be52c07f71 [diff] |
refactor HashAndEncode Encode as PNG to an SkWStream instead of a path. It's just as natural at the call sites, if not more so, and is more flexible for environments without a filesystem. While here, tweak the method names and add some comments. Change-Id: I8ce9869471fc7e1a0955d51ecb621e76c2e1d4d8 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/323509 Reviewed-by: Kevin Lubick <kjlubick@google.com> Commit-Queue: Mike Klein <mtklein@google.com>