diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-08-31 22:46:37 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-31 22:46:37 +0000 |
commit | a38996be8593ba78d3eb31e30d2d6f7c61990ec6 (patch) | |
tree | be978e80632c64f2d7bb46b879092d9d7f28a003 /core/fxcodec/gif/cfx_gifcontext.h | |
parent | ca3a100e7dcf3671bd0774ec3f5233df6996dcea (diff) | |
download | pdfium-a38996be8593ba78d3eb31e30d2d6f7c61990ec6.tar.xz |
Remove avail_buf out argument from GetAvailInput() methods.chromium/3542chromium/3541chromium/3540chromium/3539
It's always passed as nullptr. It's a good thing, too, since it looks
like some of the implementations are returning a wrong pointer.
Add some missing |const|s.
Change-Id: I768048fdfe4cdd1dc838fee26fec18e024e39920
Reviewed-on: https://pdfium-review.googlesource.com/41810
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 90657b05bb..9cc7da9615 100644 --- a/core/fxcodec/gif/cfx_gifcontext.h +++ b/core/fxcodec/gif/cfx_gifcontext.h @@ -42,7 +42,7 @@ class CFX_GifContext : public CCodec_GifModule::Context { CFX_GifDecodeStatus GetFrame(); CFX_GifDecodeStatus LoadFrame(int32_t frame_num); void SetInputBuffer(pdfium::span<uint8_t> src_buf); - uint32_t GetAvailInput(uint8_t** avail_buf) const; + uint32_t GetAvailInput() const; size_t GetFrameNum() const { return images_.size(); } UnownedPtr<CCodec_GifModule> gif_module_; |