summaryrefslogtreecommitdiff
path: root/core/fxcodec/lgif/fx_gif.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcodec/lgif/fx_gif.cpp')
-rw-r--r--core/fxcodec/lgif/fx_gif.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcodec/lgif/fx_gif.cpp b/core/fxcodec/lgif/fx_gif.cpp
index b4fe328f6c..cef4f9a9a5 100644
--- a/core/fxcodec/lgif/fx_gif.cpp
+++ b/core/fxcodec/lgif/fx_gif.cpp
@@ -565,7 +565,7 @@ GifDecodeStatus gif_load_frame(CGifContext* context, int32_t frame_num) {
}
if (!context->m_ImgDecoder.get())
context->m_ImgDecoder =
- pdfium::MakeUnique<CGifLZWDecoder>(context->err_ptr);
+ pdfium::MakeUnique<CGifLZWDecoder>(context->m_szLastError);
context->m_ImgDecoder->InitTable(gif_image_ptr->image_code_size);
context->img_row_offset = 0;
context->img_row_avail_size = 0;