summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/jbig2/JBig2_GrdProc.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-09-28 11:52:19 -0700
committerLei Zhang <thestig@chromium.org>2015-09-28 11:52:19 -0700
commit39cd934a4705f69c30e1bbf13eab347f66999020 (patch)
tree3d8aabe8daac01c2cd53c53b2660a3bdb4c32702 /core/src/fxcodec/jbig2/JBig2_GrdProc.cpp
parentd6d9dc6b9a45368abdf43477592ee9f6cdb6102e (diff)
downloadpdfium-39cd934a4705f69c30e1bbf13eab347f66999020.tar.xz
Cleanup some fx_codec_fax.cpp code.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1367633005 .
Diffstat (limited to 'core/src/fxcodec/jbig2/JBig2_GrdProc.cpp')
-rw-r--r--core/src/fxcodec/jbig2/JBig2_GrdProc.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/fxcodec/jbig2/JBig2_GrdProc.cpp b/core/src/fxcodec/jbig2/JBig2_GrdProc.cpp
index 5eb0570e72..eda76bbce9 100644
--- a/core/src/fxcodec/jbig2/JBig2_GrdProc.cpp
+++ b/core/src/fxcodec/jbig2/JBig2_GrdProc.cpp
@@ -7,6 +7,7 @@
#include "JBig2_GrdProc.h"
#include "../../../../third_party/base/nonstd_unique_ptr.h"
+#include "../../../include/fxcodec/fx_codec.h"
#include "JBig2_ArithDecoder.h"
#include "JBig2_BitStream.h"
#include "JBig2_Image.h"
@@ -668,8 +669,8 @@ FXCODEC_STATUS CJBig2_GRDProc::Start_decode_MMR(CJBig2_Image** pImage,
return m_ProssiveStatus;
}
bitpos = (int)pStream->getBitPos();
- _FaxG4Decode(pStream->getBuf(), pStream->getLength(), &bitpos,
- (*pImage)->m_pData, GBW, GBH, (*pImage)->m_nStride);
+ FaxG4Decode(pStream->getBuf(), pStream->getLength(), &bitpos,
+ (*pImage)->m_pData, GBW, GBH, (*pImage)->m_nStride);
pStream->setBitPos(bitpos);
for (i = 0; (FX_DWORD)i < (*pImage)->m_nStride * GBH; i++) {
(*pImage)->m_pData[i] = ~(*pImage)->m_pData[i];