diff options
author | Jun Fang <jun_fang@foxitsoftware.com> | 2015-12-24 18:13:36 +0800 |
---|---|---|
committer | Jun Fang <jun_fang@foxitsoftware.com> | 2015-12-24 18:13:36 +0800 |
commit | f308885d1880bc0d9a6798512ef7c740550d08e9 (patch) | |
tree | dcc105fe0785b8be699d0452708f700ccbeca99e /core/include | |
parent | f1d406f30ccdc5fe705faa590fbac0a8306b161c (diff) | |
download | pdfium-f308885d1880bc0d9a6798512ef7c740550d08e9.tar.xz |
Fix failed JPX image rendering
BUG=pdfium:338
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1549043003 .
Diffstat (limited to 'core/include')
-rw-r--r-- | core/include/fxcodec/fx_codec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/include/fxcodec/fx_codec.h b/core/include/fxcodec/fx_codec.h index c068a08025..1d4d333b33 100644 --- a/core/include/fxcodec/fx_codec.h +++ b/core/include/fxcodec/fx_codec.h @@ -15,6 +15,7 @@ class CFX_DIBSource; class CJPX_Decoder; +class CPDF_ColorSpace; class CPDF_PrivateData; class CPDF_StreamAcc; class ICodec_ScanlineDecoder; @@ -207,7 +208,7 @@ class ICodec_JpxModule { virtual CJPX_Decoder* CreateDecoder(const uint8_t* src_buf, FX_DWORD src_size, - bool use_colorspace) = 0; + CPDF_ColorSpace* cs) = 0; virtual void GetImageInfo(CJPX_Decoder* pDecoder, FX_DWORD* width, |