diff options
Diffstat (limited to 'core/fpdfapi/render/cpdf_pagerendercache.h')
-rw-r--r-- | core/fpdfapi/render/cpdf_pagerendercache.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/fpdfapi/render/cpdf_pagerendercache.h b/core/fpdfapi/render/cpdf_pagerendercache.h index 5d9ae03a1c..626e24bd2e 100644 --- a/core/fpdfapi/render/cpdf_pagerendercache.h +++ b/core/fpdfapi/render/cpdf_pagerendercache.h @@ -12,11 +12,12 @@ #include "core/fxcrt/cfx_retain_ptr.h" #include "core/fxcrt/fx_system.h" -class CPDF_Stream; +class CFX_DIBitmap; +class CPDF_Image; class CPDF_ImageCacheEntry; class CPDF_Page; class CPDF_RenderStatus; -class CFX_DIBitmap; +class CPDF_Stream; class IFX_Pause; class CPDF_PageRenderCache { @@ -26,15 +27,14 @@ class CPDF_PageRenderCache { void CacheOptimization(int32_t dwLimitCacheSize); uint32_t GetTimeCount() const { return m_nTimeCount; } - - void ResetBitmap(CPDF_Stream* pStream, + void ResetBitmap(const CFX_RetainPtr<CPDF_Image>& pImage, const CFX_RetainPtr<CFX_DIBitmap>& pBitmap); CPDF_Page* GetPage() const { return m_pPage; } CPDF_ImageCacheEntry* GetCurImageCacheEntry() const { return m_pCurImageCacheEntry; } - bool StartGetCachedBitmap(CPDF_Stream* pStream, + bool StartGetCachedBitmap(const CFX_RetainPtr<CPDF_Image>& pImage, bool bStdCS, uint32_t GroupFamily, bool bLoadMask, |