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 /fpdfsdk | |
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 'fpdfsdk')
-rw-r--r-- | fpdfsdk/fpdfeditimg.cpp | 2 |
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; } |