summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-11-21 15:09:23 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-21 15:09:23 -0800
commit4ccdb1459239ae044f01c8b6799852f8b63acb80 (patch)
tree7e375c07e6cbb042a4398d282c10c448000c3c83 /fpdfsdk
parent8a5e15d7b16c1c2a99b013fc4f68597cedab4fcf (diff)
downloadpdfium-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 'fpdfsdk')
-rw-r--r--fpdfsdk/fpdfeditimg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fpdfeditimg.cpp b/fpdfsdk/fpdfeditimg.cpp
index acd53d3b07..da9f2b3909 100644
--- a/fpdfsdk/fpdfeditimg.cpp
+++ b/fpdfsdk/fpdfeditimg.cpp
@@ -76,7 +76,7 @@ DLLEXPORT FPDF_BOOL STDCALL FPDFImageObj_SetBitmap(FPDF_PAGE* pages,
if (pPage)
pImgObj->GetImage()->ResetCache(pPage, nullptr);
}
- pImgObj->GetImage()->SetImage(reinterpret_cast<CFX_DIBitmap*>(bitmap), false);
+ pImgObj->GetImage()->SetImage(reinterpret_cast<CFX_DIBitmap*>(bitmap));
pImgObj->CalcBoundingBox();
return true;
}