diff options
author | dsinclair <dsinclair@chromium.org> | 2016-03-25 09:16:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-25 09:16:34 -0700 |
commit | 65ea3949de6536b1c122eadb4ac7828323fbc408 (patch) | |
tree | 51f8dcb7b188e0a4252d40376dba85bf98ea5420 /core/fpdfapi/fpdf_page/include | |
parent | 5f597db5596f302a5ae31447e5c3eaf4320dcef1 (diff) | |
download | pdfium-65ea3949de6536b1c122eadb4ac7828323fbc408.tar.xz |
Remove unused params of CPDF_Image::SetImage.
The last 3 params of CPDF_Image::SetImage are unused, remove and cleanup logic.
BUG=pdfium:194
Review URL: https://codereview.chromium.org/1831263002
Diffstat (limited to 'core/fpdfapi/fpdf_page/include')
-rw-r--r-- | core/fpdfapi/fpdf_page/include/cpdf_image.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/core/fpdfapi/fpdf_page/include/cpdf_image.h b/core/fpdfapi/fpdf_page/include/cpdf_image.h index 048b86d171..9153e9a660 100644 --- a/core/fpdfapi/fpdf_page/include/cpdf_image.h +++ b/core/fpdfapi/fpdf_page/include/cpdf_image.h @@ -58,11 +58,7 @@ class CPDF_Image { FX_BOOL bLoadMask = FALSE) const; void SetInlineDict(CPDF_Dictionary* pDict) { m_pInlineDict = pDict; } - void SetImage(const CFX_DIBitmap* pDIBitmap, - int32_t iCompress, - IFX_FileWrite* pFileWrite = NULL, - IFX_FileRead* pFileRead = NULL, - const CFX_DIBitmap* pMask = NULL); + void SetImage(const CFX_DIBitmap* pDIBitmap, int32_t iCompress); void SetJpegImage(uint8_t* pImageData, FX_DWORD size); void SetJpegImage(IFX_FileRead* pFile); |