summaryrefslogtreecommitdiff
path: root/core/fxcodec/jbig2/JBig2_Context.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-04-27 20:22:58 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-27 20:22:58 +0000
commite3c44e1403906a88d500089c934bc034b8025ae2 (patch)
treec6f69be1737498aa7ca03f73a3c71401969e8445 /core/fxcodec/jbig2/JBig2_Context.h
parent01148da03a7d2950515b540582cc05e2f9b16140 (diff)
downloadpdfium-e3c44e1403906a88d500089c934bc034b8025ae2.tar.xz
Simplify CJBig2_Context::DecodeSymbolIDHuffmanTable().
One of its parameters is a member variable. Change-Id: I0dcb78275d9ea5b05a77e211d178a0efb8699395 Reviewed-on: https://pdfium-review.googlesource.com/31535 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_Context.h')
-rw-r--r--core/fxcodec/jbig2/JBig2_Context.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/fxcodec/jbig2/JBig2_Context.h b/core/fxcodec/jbig2/JBig2_Context.h
index d5dbbd22a6..3c0e5b6e2b 100644
--- a/core/fxcodec/jbig2/JBig2_Context.h
+++ b/core/fxcodec/jbig2/JBig2_Context.h
@@ -80,9 +80,7 @@ class CJBig2_Context {
int32_t ParseTable(CJBig2_Segment* pSegment);
int32_t ParseRegionInfo(JBig2RegionInfo* pRI);
- std::vector<JBig2HuffmanCode> DecodeSymbolIDHuffmanTable(
- CJBig2_BitStream* pStream,
- uint32_t SBNUMSYMS);
+ std::vector<JBig2HuffmanCode> DecodeSymbolIDHuffmanTable(uint32_t SBNUMSYMS);
void HuffmanAssignCode(JBig2HuffmanCode* SBSYMCODES, int NTEMP);