diff options
author | Nicolas Pena <npm@chromium.org> | 2017-05-11 18:44:29 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-12 16:06:57 +0000 |
commit | 2199ab8e048ae19ee3ae01afe640ce3a66092a00 (patch) | |
tree | 9902df65f20b9e9c67e6dc7ad8afdff5ecb9b8e7 /core/fxcodec/codec/ccodec_progressivedecoder.h | |
parent | 3c58aa0bf51c64eb126be165e7478e70fbb68043 (diff) | |
download | pdfium-2199ab8e048ae19ee3ae01afe640ce3a66092a00.tar.xz |
Merge FXGIF_Context and CGifDecompressor into CGifContextchromium/3098
Change-Id: I60c9cbd83ff9e7a30a5a570a6ad1cf8f52360c07
Reviewed-on: https://pdfium-review.googlesource.com/5410
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'core/fxcodec/codec/ccodec_progressivedecoder.h')
-rw-r--r-- | core/fxcodec/codec/ccodec_progressivedecoder.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/fxcodec/codec/ccodec_progressivedecoder.h b/core/fxcodec/codec/ccodec_progressivedecoder.h index 6fa0dafab0..2b343b7e94 100644 --- a/core/fxcodec/codec/ccodec_progressivedecoder.h +++ b/core/fxcodec/codec/ccodec_progressivedecoder.h @@ -7,6 +7,7 @@ #ifndef CORE_FXCODEC_CODEC_CCODEC_PROGRESSIVEDECODER_H_ #define CORE_FXCODEC_CODEC_CCODEC_PROGRESSIVEDECODER_H_ +#include <memory> #include <vector> #include "core/fxcodec/codec/ccodec_bmpmodule.h" @@ -14,6 +15,7 @@ #include "core/fxcodec/codec/ccodec_pngmodule.h" #include "core/fxcodec/codec/ccodec_tiffmodule.h" #include "core/fxcodec/fx_codec_def.h" +#include "core/fxcodec/lgif/cgifcontext.h" #include "core/fxcrt/cfx_retain_ptr.h" #include "core/fxcrt/fx_system.h" #include "core/fxge/fx_dib.h" @@ -128,7 +130,7 @@ class CCodec_ProgressiveDecoder : public CCodec_BmpModule::Delegate, CCodec_ModuleMgr* m_pCodecMgr; FXJPEG_Context* m_pJpegContext; FXPNG_Context* m_pPngContext; - FXGIF_Context* m_pGifContext; + std::unique_ptr<CGifContext> m_pGifContext; FXBMP_Context* m_pBmpContext; CCodec_TiffContext* m_pTiffContext; FXCODEC_IMAGE_TYPE m_imagType; |