Chromium Code Reviews| Index: core/src/fpdfapi/fpdf_page/pageint.h |
| diff --git a/core/src/fpdfapi/fpdf_page/pageint.h b/core/src/fpdfapi/fpdf_page/pageint.h |
| index 625e5df73716d9f96d626fddb6d15ae2912af54b..5cb71a8772c1f4fc04acb60246fb36ffc88096fe 100644 |
| --- a/core/src/fpdfapi/fpdf_page/pageint.h |
| +++ b/core/src/fpdfapi/fpdf_page/pageint.h |
| @@ -426,7 +426,7 @@ public: |
| void ReleasePattern(CPDF_Object* pPatternObj); |
| CPDF_Image* GetImage(CPDF_Object* pImageStream); |
| void ReleaseImage(CPDF_Object* pImageStream); |
| - CPDF_IccProfile* GetIccProfile(CPDF_Stream* pIccProfileStream, FX_INT32 nComponents); |
| + CPDF_IccProfile* GetIccProfile(CPDF_Stream* pIccProfileStream); |
| void ReleaseIccProfile(CPDF_Stream* pIccProfileStream, CPDF_IccProfile* pIccProfile); |
| CPDF_StreamAcc* GetFontFileStreamAcc(CPDF_Stream* pFontStream); |
| void ReleaseFontFileStreamAcc(CPDF_Stream* pFontStream, FX_BOOL bForce = FALSE); |
| @@ -468,9 +468,11 @@ protected: |
| class CPDF_IccProfile : public CFX_Object |
| { |
| public: |
| - CPDF_IccProfile(FX_LPCBYTE pData, FX_DWORD dwSize, int nComponents); |
| + CPDF_IccProfile(FX_LPCBYTE pData, FX_DWORD dwSize); |
| ~CPDF_IccProfile(); |
| + FX_INT32 GetComponents() { return m_srcnComponents; } |
|
Tom Sepez
2014/08/25 18:18:51
nit: const method.
Bo Xu
2014/08/25 20:28:17
Done.
|
| FX_BOOL m_bsRGB; |
| + FX_INT32 m_srcnComponents; |
|
jun_fang
2014/08/25 18:56:51
should be m_nSrcComponents?
Bo Xu
2014/08/25 20:28:18
Done.
|
| FX_LPVOID m_pTransform; |
| }; |
| class CPDF_DeviceCS : public CPDF_ColorSpace |