summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-05-04 15:16:41 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-04 20:08:09 +0000
commitd41f4752c81d2dc8635595df7a9ab2b07f571c53 (patch)
tree5c31be0648c3ce639879208cd3547a3699be852d
parent37bc6c6ee704e70b843dc012cf595d947fdb1cd5 (diff)
downloadpdfium-d41f4752c81d2dc8635595df7a9ab2b07f571c53.tar.xz
Remove unused IFX_Pause member
The IFX_Pause param is stored but never used. Remove. Change-Id: I9e5298fc05c6d408873b7bee307a76dcf3d2d4da Reviewed-on: https://pdfium-review.googlesource.com/4931 Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
-rw-r--r--core/fxcodec/jbig2/JBig2_GrdProc.cpp2
-rw-r--r--core/fxcodec/jbig2/JBig2_GrdProc.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/core/fxcodec/jbig2/JBig2_GrdProc.cpp b/core/fxcodec/jbig2/JBig2_GrdProc.cpp
index 675de9bcdd..21d6d80bc9 100644
--- a/core/fxcodec/jbig2/JBig2_GrdProc.cpp
+++ b/core/fxcodec/jbig2/JBig2_GrdProc.cpp
@@ -17,7 +17,6 @@
CJBig2_GRDProc::CJBig2_GRDProc()
: m_loopIndex(0),
m_pLine(nullptr),
- m_pPause(nullptr),
m_DecodeType(0),
m_LTP(0) {
m_ReplaceRect.left = 0;
@@ -640,7 +639,6 @@ FXCODEC_STATUS CJBig2_GRDProc::Start_decode_Arith(
return FXCODEC_STATUS_DECODE_FINISH;
}
m_ProssiveStatus = FXCODEC_STATUS_DECODE_READY;
- m_pPause = pPause;
if (!*pImage)
*pImage = new CJBig2_Image(GBW, GBH);
if (!(*pImage)->m_pData) {
diff --git a/core/fxcodec/jbig2/JBig2_GrdProc.h b/core/fxcodec/jbig2/JBig2_GrdProc.h
index a82aecbf12..1268192ef1 100644
--- a/core/fxcodec/jbig2/JBig2_GrdProc.h
+++ b/core/fxcodec/jbig2/JBig2_GrdProc.h
@@ -111,7 +111,6 @@ class CJBig2_GRDProc {
uint32_t m_loopIndex;
uint8_t* m_pLine;
- IFX_Pause* m_pPause;
FXCODEC_STATUS m_ProssiveStatus;
CJBig2_Image** m_pImage;
CJBig2_ArithDecoder* m_pArithDecoder;