From ac1d7212cd1210548551618dd67c780af8a7f0e0 Mon Sep 17 00:00:00 2001 From: Bo Xu Date: Mon, 5 Jan 2015 10:48:34 -0800 Subject: XFA: merge patch from CL 828183002, remove static declared SymbolDictCache Remove static declared SymbolDictCache. This is a follow up CL on https://codereview.chromium.org/761313004/ BUG=https://code.google.com/p/pdfium/issues/detail?id=93 R=brucedawson@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/828183002 --- core/src/fxcodec/codec/codec_int.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'core/src/fxcodec/codec/codec_int.h') diff --git a/core/src/fxcodec/codec/codec_int.h b/core/src/fxcodec/codec/codec_int.h index 3cbdce9265..be71bf8dd9 100644 --- a/core/src/fxcodec/codec/codec_int.h +++ b/core/src/fxcodec/codec/codec_int.h @@ -5,6 +5,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include +#include +#include "../jbig2/JBig2_Context.h" class CCodec_BasicModule : public ICodec_BasicModule { public: @@ -258,8 +260,7 @@ public: virtual FX_BOOL LoadFrameInfo(FX_LPVOID ctx, FX_INT32 frame, FX_DWORD& width, FX_DWORD& height, FX_DWORD& comps, FX_DWORD& bpc, CFX_DIBAttribute* pAttribute = NULL); virtual FX_BOOL Decode(FX_LPVOID ctx, class CFX_DIBitmap* pDIBitmap); virtual void DestroyDecoder(FX_LPVOID ctx); -}; -#include "../jbig2/JBig2_Context.h" +}; class CPDF_Jbig2Interface : public CFX_Object, public CJBig2_Module { public: @@ -331,6 +332,7 @@ public: FXCODEC_STATUS ContinueDecode(void* pJbig2Context, IFX_Pause* pPause); void DestroyJbig2Context(void* pJbig2Context); CPDF_Jbig2Interface m_Module; + std::list m_SymbolDictCache; private: }; class CFX_DIBAttributeExif : public IFX_DIBAttributeExif -- cgit v1.2.3