From 65ea3949de6536b1c122eadb4ac7828323fbc408 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Fri, 25 Mar 2016 09:16:34 -0700 Subject: 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 --- core/fpdfapi/fpdf_page/include/cpdf_image.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'core/fpdfapi/fpdf_page/include') 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); -- cgit v1.2.3