Chromium Code Reviews| Index: core/include/fxcodec/fx_codec_provider.h |
| diff --git a/core/include/fxcodec/fx_codec_provider.h b/core/include/fxcodec/fx_codec_provider.h |
| index 9cb59651cccc7b597a46b6024f8392a334135689..943d9dfc2f8dcee36947c04a51fb1259d807b0ab 100644 |
| --- a/core/include/fxcodec/fx_codec_provider.h |
| +++ b/core/include/fxcodec/fx_codec_provider.h |
| @@ -9,6 +9,10 @@ |
| #include "../fxcrt/fx_system.h" |
| +#ifdef PDF_ENABLE_XFA |
| +class CFX_DIBAttribute; |
| + |
| +#endif |
| class IFX_JpegProvider { |
| public: |
| virtual void Release() = 0; |
| @@ -58,7 +62,12 @@ class IFX_JpegProvider { |
| virtual int ReadHeader(void* pContext, |
| int* width, |
| int* height, |
| +#ifndef PDF_ENABLE_XFA |
| int* nComps) = 0; |
| +#else |
| + int* nComps, |
| + CFX_DIBAttribute* pAttribute = NULL) = 0; |
|
Lei Zhang
2015/10/30 06:15:30
dislike
|
| +#endif |
| virtual int StartScanline(void* pContext, int down_scale) = 0; |