summaryrefslogtreecommitdiff
path: root/core/include
diff options
context:
space:
mode:
authorJun Fang <jun_fang@foxitsoftware.com>2015-12-24 18:27:33 +0800
committerJun Fang <jun_fang@foxitsoftware.com>2015-12-24 18:27:33 +0800
commitc7b4357a70235063a725a467da8758b3491c373c (patch)
treec01d036e1c0e61eee89bf45c684816bef05cf410 /core/include
parentc70bd39ec72921cc10b613ce9adcd8f07d7f3039 (diff)
downloadpdfium-c7b4357a70235063a725a467da8758b3491c373c.tar.xz
Merge to XFA: Fix failed JPX image rendering
BUG=pdfium:338 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1549043003 . Review URL: https://codereview.chromium.org/1549083002 .
Diffstat (limited to 'core/include')
-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 e7aeaf939b..da9cd9260b 100644
--- a/core/include/fxcodec/fx_codec.h
+++ b/core/include/fxcodec/fx_codec.h
@@ -17,6 +17,7 @@
class CFX_DIBSource;
class CJPX_Decoder;
+class CPDF_ColorSpace;
class CPDF_PrivateData;
class CPDF_StreamAcc;
class ICodec_BasicModule;
@@ -259,7 +260,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,