diff options
author | thestig <thestig@chromium.org> | 2016-11-21 15:09:23 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-21 15:09:23 -0800 |
commit | 4ccdb1459239ae044f01c8b6799852f8b63acb80 (patch) | |
tree | 7e375c07e6cbb042a4398d282c10c448000c3c83 /core/fpdfapi/page/cpdf_image.h | |
parent | 8a5e15d7b16c1c2a99b013fc4f68597cedab4fcf (diff) | |
download | pdfium-4ccdb1459239ae044f01c8b6799852f8b63acb80.tar.xz |
Remove iCompress parameter to CPDF_Image::SetImage().
It's always set to 0.
Review-Url: https://codereview.chromium.org/2520123002
Diffstat (limited to 'core/fpdfapi/page/cpdf_image.h')
-rw-r--r-- | core/fpdfapi/page/cpdf_image.h | 7 |
1 files changed, 1 insertions, 6 deletions
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); |