From 4ccdb1459239ae044f01c8b6799852f8b63acb80 Mon Sep 17 00:00:00 2001 From: thestig Date: Mon, 21 Nov 2016 15:09:23 -0800 Subject: Remove iCompress parameter to CPDF_Image::SetImage(). It's always set to 0. Review-Url: https://codereview.chromium.org/2520123002 --- core/fpdfapi/page/cpdf_image.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'core/fpdfapi/page/cpdf_image.h') diff --git a/core/fpdfapi/page/cpdf_image.h b/core/fpdfapi/page/cpdf_image.h index 848b0e4462..ac35ce1ac7 100644 --- a/core/fpdfapi/page/cpdf_image.h +++ b/core/fpdfapi/page/cpdf_image.h @@ -12,11 +12,6 @@ #include "core/fpdfapi/parser/cpdf_stream.h" #include "core/fxcrt/fx_system.h" -#define PDF_IMAGE_NO_COMPRESS 0x0000 -#define PDF_IMAGE_LOSSY_COMPRESS 0x0001 -#define PDF_IMAGE_LOSSLESS_COMPRESS 0x0002 -#define PDF_IMAGE_MASK_LOSSY_COMPRESS 0x0004 - class CFX_DIBSource; class CFX_DIBitmap; class CPDF_Document; @@ -55,7 +50,7 @@ class CPDF_Image { uint32_t GroupFamily = 0, bool bLoadMask = false) const; - void SetImage(const CFX_DIBitmap* pDIBitmap, int32_t iCompress); + void SetImage(const CFX_DIBitmap* pDIBitmap); void SetJpegImage(IFX_SeekableReadStream* pFile); void ResetCache(CPDF_Page* pPage, const CFX_DIBitmap* pDIBitmap); -- cgit v1.2.3