summaryrefslogtreecommitdiff
path: root/core/include/fxcodec/fx_codec.h
diff options
context:
space:
mode:
authorJun Fang <jun_fang@foxitsoftware.com>2015-12-24 18:13:36 +0800
committerJun Fang <jun_fang@foxitsoftware.com>2015-12-24 18:13:36 +0800
commitf308885d1880bc0d9a6798512ef7c740550d08e9 (patch)
treedcc105fe0785b8be699d0452708f700ccbeca99e /core/include/fxcodec/fx_codec.h
parentf1d406f30ccdc5fe705faa590fbac0a8306b161c (diff)
downloadpdfium-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/fxcodec/fx_codec.h')
-rw-r--r--core/include/fxcodec/fx_codec.h3
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,