diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-11-25 12:15:38 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-11-25 12:15:38 -0800 |
commit | 5c4c193fd4b6dd0657abf5e74125f9887f91d720 (patch) | |
tree | 976cfb53dd2580eff58fb02556d1828fff12659d /core/src/fxge/dib | |
parent | 8b90ee66872aa883fc46ac2b6e7acad35c7c96c6 (diff) | |
download | pdfium-5c4c193fd4b6dd0657abf5e74125f9887f91d720.tar.xz |
Inflict PPDF_ENABLE_XFA ifdefs on XFA core/
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1471323004 .
Diffstat (limited to 'core/src/fxge/dib')
-rw-r--r-- | core/src/fxge/dib/fx_dib_convert.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/fxge/dib/fx_dib_convert.cpp b/core/src/fxge/dib/fx_dib_convert.cpp index 6a01c1f10d..80483f07d3 100644 --- a/core/src/fxge/dib/fx_dib_convert.cpp +++ b/core/src/fxge/dib/fx_dib_convert.cpp @@ -617,10 +617,12 @@ FX_BOOL _ConvertBuffer_Rgb2PltRgb8(uint8_t* dest_buf, int src_top, FX_DWORD* dst_plt, void* pIccTransform) { +#ifdef PDF_ENABLE_XFA ICodec_IccModule* pIccModule = NULL; if (pIccTransform) { pIccModule = CFX_GEModule::Get()->GetCodecModule()->GetIccModule(); } +#endif FX_BOOL ret = _ConvertBuffer_Rgb2PltRgb8_NoTransform( dest_buf, dest_pitch, width, height, pSrcBitmap, src_left, src_top, dst_plt); |