summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_render/render_int.h
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-04-05 15:53:32 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-05 15:53:32 -0700
commit54750b570d32898c8ebd4fa59105bfd3b96043af (patch)
tree25ffed24af8fba5f2bc76266c74335f6b92c63eb /core/fpdfapi/fpdf_render/render_int.h
parente5984e92ff378a86118f1e6428dc325dbde9c409 (diff)
downloadpdfium-54750b570d32898c8ebd4fa59105bfd3b96043af.tar.xz
Remove dead image decoding/caching code.
Review URL: https://codereview.chromium.org/1860223002
Diffstat (limited to 'core/fpdfapi/fpdf_render/render_int.h')
-rw-r--r--core/fpdfapi/fpdf_render/render_int.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/fpdfapi/fpdf_render/render_int.h b/core/fpdfapi/fpdf_render/render_int.h
index b22b9fc39b..eab6c9ff21 100644
--- a/core/fpdfapi/fpdf_render/render_int.h
+++ b/core/fpdfapi/fpdf_render/render_int.h
@@ -443,7 +443,7 @@ class CPDF_ImageCacheEntry {
public:
CPDF_ImageCacheEntry(CPDF_Document* pDoc, CPDF_Stream* pStream);
~CPDF_ImageCacheEntry();
- void ClearImageData();
+
void Reset(const CFX_DIBitmap* pBitmap);
FX_BOOL GetCachedBitmap(CFX_DIBSource*& pBitmap,
CFX_DIBSource*& pMask,
@@ -521,11 +521,9 @@ class CPDF_DIBSource : public CFX_DIBSource {
FX_BOOL bFlipX,
int clip_left,
int clip_width) const override;
- void SetDownSampleSize(int dest_width, int dest_height) override;
CFX_DIBitmap* GetBitmap() const;
void ReleaseBitmap(CFX_DIBitmap* pBitmap) const;
- void ClearImageData();
uint32_t GetMatteColor() const { return m_MatteColor; }
int StartLoadDIBSource(CPDF_Document* pDoc,