summaryrefslogtreecommitdiff
path: root/core/fxcodec/jbig2/JBig2_PddProc.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-05-04 16:54:35 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-05 19:26:55 +0000
commitc2bf27fff9e2316b9daee92266e70eac3ef5979b (patch)
tree36eb4c8962ed92a8b5fa257adba4be1ef7144c8c /core/fxcodec/jbig2/JBig2_PddProc.cpp
parent4c64450875263a1f48e84f6d2223d8c36484f7cf (diff)
downloadpdfium-c2bf27fff9e2316b9daee92266e70eac3ef5979b.tar.xz
More unused IFX_Pause parameters removedchromium/3091
Remove IFX_Pause parameters which are passed but not used. Change-Id: I51a491c7f9a429676d114a387390fac3ae65e187 Reviewed-on: https://pdfium-review.googlesource.com/4950 Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_PddProc.cpp')
-rw-r--r--core/fxcodec/jbig2/JBig2_PddProc.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/fxcodec/jbig2/JBig2_PddProc.cpp b/core/fxcodec/jbig2/JBig2_PddProc.cpp
index 3eef302baf..e3403eec26 100644
--- a/core/fxcodec/jbig2/JBig2_PddProc.cpp
+++ b/core/fxcodec/jbig2/JBig2_PddProc.cpp
@@ -57,8 +57,7 @@ CJBig2_PatternDict* CJBig2_PDDProc::decode_Arith(
return pDict.release();
}
-CJBig2_PatternDict* CJBig2_PDDProc::decode_MMR(CJBig2_BitStream* pStream,
- IFX_Pause* pPause) {
+CJBig2_PatternDict* CJBig2_PDDProc::decode_MMR(CJBig2_BitStream* pStream) {
uint32_t GRAY;
CJBig2_Image* BHDC = nullptr;
auto pDict = pdfium::MakeUnique<CJBig2_PatternDict>();
@@ -70,7 +69,7 @@ CJBig2_PatternDict* CJBig2_PDDProc::decode_MMR(CJBig2_BitStream* pStream,
pGRD->MMR = HDMMR;
pGRD->GBW = (GRAYMAX + 1) * HDPW;
pGRD->GBH = HDPH;
- pGRD->Start_decode_MMR(&BHDC, pStream, nullptr);
+ pGRD->Start_decode_MMR(&BHDC, pStream);
if (!BHDC)
return nullptr;