diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-10-09 19:44:11 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-09 19:44:11 +0000 |
commit | 3e838a75ae5c0bb0e524f745df69e54a021fc5ec (patch) | |
tree | 92d389fbba456469c14e75d7723493dc85603b81 /core/fxcodec/gif/cfx_gifcontext.h | |
parent | 78606af0550f34a41d262e0a01381f48b7dfe197 (diff) | |
download | pdfium-3e838a75ae5c0bb0e524f745df69e54a021fc5ec.tar.xz |
Pass CFX_CodecMemory in place of spans to codecs.
Next step towards making CFX_CodecMemory own the memory it is
ref-counting.
Change-Id: I5922d80d13032c3ea028447c47d34a10234109a3
Reviewed-on: https://pdfium-review.googlesource.com/c/43630
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxcodec/gif/cfx_gifcontext.h')
-rw-r--r-- | core/fxcodec/gif/cfx_gifcontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcodec/gif/cfx_gifcontext.h b/core/fxcodec/gif/cfx_gifcontext.h index c2828db6bb..4cf84a5ac6 100644 --- a/core/fxcodec/gif/cfx_gifcontext.h +++ b/core/fxcodec/gif/cfx_gifcontext.h @@ -41,7 +41,7 @@ class CFX_GifContext : public CodecModuleIface::Context { CFX_GifDecodeStatus ReadHeader(); CFX_GifDecodeStatus GetFrame(); CFX_GifDecodeStatus LoadFrame(int32_t frame_num); - void SetInputBuffer(pdfium::span<uint8_t> src_buf); + void SetInputBuffer(RetainPtr<CFX_CodecMemory> codec_memory); uint32_t GetAvailInput() const; size_t GetFrameNum() const { return images_.size(); } |