diff options
author | weili <weili@chromium.org> | 2016-07-12 11:58:55 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-12 11:58:55 -0700 |
commit | e05957908d7bac3c5938a8c20d7e1b732e4f7e92 (patch) | |
tree | 5f310a473029c38b05eaf63c83c931569206d2e6 /core/fpdfapi/fpdf_render | |
parent | b3f2467e065fdb36ae7c46e0a3e0b2902c8eb7f8 (diff) | |
download | pdfium-e05957908d7bac3c5938a8c20d7e1b732e4f7e92.tar.xz |
Replace void* to actual type for jbig2 context to avoid casts
Also clear up a few variable names and unnecessary brackets.
Review-Url: https://codereview.chromium.org/2143083002
Diffstat (limited to 'core/fpdfapi/fpdf_render')
-rw-r--r-- | core/fpdfapi/fpdf_render/render_int.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_render/render_int.h b/core/fpdfapi/fpdf_render/render_int.h index 99d1dfc292..547738932a 100644 --- a/core/fpdfapi/fpdf_render/render_int.h +++ b/core/fpdfapi/fpdf_render/render_int.h @@ -16,6 +16,7 @@ #include "core/fpdfapi/fpdf_parser/include/cpdf_stream_acc.h" #include "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h" +class CCodec_Jbig2Context; class CCodec_ScanlineDecoder; class CFX_FontCache; class CFX_GlyphBitmap; @@ -601,7 +602,7 @@ class CPDF_DIBSource : public CFX_DIBSource { uint8_t* m_pMaskedLine; std::unique_ptr<CFX_DIBitmap> m_pCachedBitmap; std::unique_ptr<CCodec_ScanlineDecoder> m_pDecoder; - void* m_pJbig2Context; + CCodec_Jbig2Context* m_pJbig2Context; CPDF_DIBSource* m_pMask; std::unique_ptr<CPDF_StreamAcc> m_pGlobalStream; CPDF_Stream* m_pMaskStream; |