summaryrefslogtreecommitdiff
path: root/core/fpdfapi/render/cpdf_imagecacheentry.h
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-01-05 13:22:17 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-01-05 20:04:17 +0000
commit48f776f7e801d719683b251dc21ee8c0e3250d90 (patch)
tree53987e0b197419771088e4109ccc8283c705fdaf /core/fpdfapi/render/cpdf_imagecacheentry.h
parent91fd904b6b5cdeed0f01617992df5235f79d3fa6 (diff)
downloadpdfium-48f776f7e801d719683b251dc21ee8c0e3250d90.tar.xz
Remove unused CPDF_ImageCacheEntry::GetCachedBitmap
GetCachedBitmap method is not being used. This removal simplifies some of the code. Change-Id: I075c245c3511e8a1b595c8ba148991f7c838f504 Reviewed-on: https://pdfium-review.googlesource.com/2154 Commit-Queue: Nicolás Peña <npm@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfapi/render/cpdf_imagecacheentry.h')
-rw-r--r--core/fpdfapi/render/cpdf_imagecacheentry.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/core/fpdfapi/render/cpdf_imagecacheentry.h b/core/fpdfapi/render/cpdf_imagecacheentry.h
index e4481e0d73..d11fe94c29 100644
--- a/core/fpdfapi/render/cpdf_imagecacheentry.h
+++ b/core/fpdfapi/render/cpdf_imagecacheentry.h
@@ -25,16 +25,6 @@ class CPDF_ImageCacheEntry {
~CPDF_ImageCacheEntry();
void Reset(const CFX_DIBitmap* pBitmap);
- bool GetCachedBitmap(CFX_DIBSource*& pBitmap,
- CFX_DIBSource*& pMask,
- uint32_t& MatteColor,
- CPDF_Dictionary* pPageResources,
- bool bStdCS,
- uint32_t GroupFamily,
- bool bLoadMask,
- CPDF_RenderStatus* pRenderStatus,
- int32_t downsampleWidth,
- int32_t downsampleHeight);
uint32_t EstimateSize() const { return m_dwCacheSize; }
uint32_t GetTimeCount() const { return m_dwTimeCount; }
CPDF_Stream* GetStream() const { return m_pStream; }
@@ -56,6 +46,7 @@ class CPDF_ImageCacheEntry {
private:
void ContinueGetCachedBitmap();
+ void CalcSize();
CPDF_RenderStatus* m_pRenderStatus;
CPDF_Document* m_pDocument;
@@ -65,7 +56,6 @@ class CPDF_ImageCacheEntry {
std::unique_ptr<CFX_DIBSource> m_pCachedBitmap;
std::unique_ptr<CFX_DIBSource> m_pCachedMask;
uint32_t m_dwCacheSize;
- void CalcSize();
};
#endif // CORE_FPDFAPI_RENDER_CPDF_IMAGECACHEENTRY_H_