summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_page/include
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-03-25 09:16:34 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-25 09:16:34 -0700
commit65ea3949de6536b1c122eadb4ac7828323fbc408 (patch)
tree51f8dcb7b188e0a4252d40376dba85bf98ea5420 /core/fpdfapi/fpdf_page/include
parent5f597db5596f302a5ae31447e5c3eaf4320dcef1 (diff)
downloadpdfium-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.h6
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);