summaryrefslogtreecommitdiff
path: root/core/fxcodec/jbig2/JBig2_SddProc.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_SddProc.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_SddProc.cpp')
-rw-r--r--core/fxcodec/jbig2/JBig2_SddProc.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/fxcodec/jbig2/JBig2_SddProc.cpp b/core/fxcodec/jbig2/JBig2_SddProc.cpp
index 8e6c4ac304..e296e32d21 100644
--- a/core/fxcodec/jbig2/JBig2_SddProc.cpp
+++ b/core/fxcodec/jbig2/JBig2_SddProc.cpp
@@ -6,7 +6,9 @@
#include "core/fxcodec/jbig2/JBig2_SddProc.h"
+#include <algorithm>
#include <memory>
+#include <utility>
#include <vector>
#include "core/fxcodec/jbig2/JBig2_ArithIntDecoder.h"
@@ -263,8 +265,7 @@ CJBig2_SymbolDict* CJBig2_SDDProc::decode_Arith(
CJBig2_SymbolDict* CJBig2_SDDProc::decode_Huffman(
CJBig2_BitStream* pStream,
std::vector<JBig2ArithCtx>* gbContext,
- std::vector<JBig2ArithCtx>* grContext,
- IFX_Pause* pPause) {
+ std::vector<JBig2ArithCtx>* grContext) {
std::vector<std::unique_ptr<CJBig2_Image>> SDNEWSYMS;
std::vector<uint32_t> SDNEWSYMWIDTHS;
uint32_t HCHEIGHT, NSYMSDECODED;
@@ -488,7 +489,7 @@ CJBig2_SymbolDict* CJBig2_SDDProc::decode_Huffman(
pGRD->MMR = 1;
pGRD->GBW = TOTWIDTH;
pGRD->GBH = HCHEIGHT;
- pGRD->Start_decode_MMR(&BHC, pStream, nullptr);
+ pGRD->Start_decode_MMR(&BHC, pStream);
pStream->alignByte();
}
nTmp = 0;