summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/codec/codec_int.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/src/fxcodec/codec/codec_int.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/src/fxcodec/codec/codec_int.h')
-rw-r--r--core/src/fxcodec/codec/codec_int.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/fxcodec/codec/codec_int.h b/core/src/fxcodec/codec/codec_int.h
index 1495f9e680..0f2d565046 100644
--- a/core/src/fxcodec/codec/codec_int.h
+++ b/core/src/fxcodec/codec/codec_int.h
@@ -18,6 +18,7 @@
class CFX_IccProfileCache;
class CFX_IccTransformCache;
+class CPDF_ColorSpace;
class CCodec_BasicModule : public ICodec_BasicModule {
public:
@@ -258,7 +259,7 @@ class CCodec_JpxModule : public ICodec_JpxModule {
// ICodec_JpxModule:
CJPX_Decoder* CreateDecoder(const uint8_t* src_buf,
FX_DWORD src_size,
- bool use_colorspace) override;
+ CPDF_ColorSpace* cs) override;
void GetImageInfo(CJPX_Decoder* pDecoder,
FX_DWORD* width,
FX_DWORD* height,