diff options
author | 2015-07-27 15:13:17 -0700 | |
---|---|---|
committer | 2015-07-27 15:13:17 -0700 | |
commit | 614aa072cbb055a29f37fa25a657313bccc5d666 (patch) | |
tree | 4dc42e8af7be7f4ef0a5952a5a5d5283d8bcb38c /src/codec/SkCodec_libpng.h | |
parent | a3a9ebcfb043b263d42c7d532ef487b99b9279fa (diff) |
Pass the destination pointer to next() in SkSwizzler
Per our discussion, we can make the swizzler simpler and more usable
for SkCodec and SkScanlineDecoder by only having a single version of
next() which takes a pointer to the srcRow and a pointer to the
dstRow.
BUG=skia:
Review URL: https://codereview.chromium.org/1256373002
Diffstat (limited to 'src/codec/SkCodec_libpng.h')
-rw-r--r-- | src/codec/SkCodec_libpng.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codec/SkCodec_libpng.h b/src/codec/SkCodec_libpng.h index f932a0a2ee..297e8043fe 100644 --- a/src/codec/SkCodec_libpng.h +++ b/src/codec/SkCodec_libpng.h @@ -53,8 +53,8 @@ private: // Helper to set up swizzler and color table. Also calls png_read_update_info. - Result initializeSwizzler(const SkImageInfo& requestedInfo, void* dst, - size_t rowBytes, const Options&, SkPMColor*, int* ctableCount); + Result initializeSwizzler(const SkImageInfo& requestedInfo, const Options&, + SkPMColor*, int* ctableCount); // Calls rewindIfNeeded and returns true if the decoder can continue. bool handleRewind(); |