From f308885d1880bc0d9a6798512ef7c740550d08e9 Mon Sep 17 00:00:00 2001 From: Jun Fang Date: Thu, 24 Dec 2015 18:13:36 +0800 Subject: Fix failed JPX image rendering BUG=pdfium:338 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1549043003 . --- core/src/fxcodec/codec/codec_int.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/src/fxcodec/codec/codec_int.h') 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, -- cgit v1.2.3