diff options
Diffstat (limited to 'core/fxcodec/gif/cfx_gifcontext.cpp')
-rw-r--r-- | core/fxcodec/gif/cfx_gifcontext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcodec/gif/cfx_gifcontext.cpp b/core/fxcodec/gif/cfx_gifcontext.cpp index 4083072fbe..f746bc13c5 100644 --- a/core/fxcodec/gif/cfx_gifcontext.cpp +++ b/core/fxcodec/gif/cfx_gifcontext.cpp @@ -342,8 +342,8 @@ CFX_GifDecodeStatus CFX_GifContext::LoadFrame(int32_t frame_num) { return CFX_GifDecodeStatus::Error; } -void CFX_GifContext::SetInputBuffer(uint8_t* src_buf, uint32_t src_size) { - input_buffer_ = pdfium::MakeRetain<CFX_CodecMemory>(src_buf, src_size); +void CFX_GifContext::SetInputBuffer(pdfium::span<uint8_t> src_buf) { + input_buffer_ = pdfium::MakeRetain<CFX_CodecMemory>(src_buf); } uint32_t CFX_GifContext::GetAvailInput(uint8_t** avail_buf) const { |