| Index: core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp
|
| diff --git a/core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp b/core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp
|
| index b1fbe01b90cfe51fb0d46ecf0818f12e7a4c5306..5d24ab742a1c1942bac898690792edcc1df78005 100644
|
| --- a/core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp
|
| +++ b/core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp
|
| @@ -77,15 +77,6 @@ CPDF_Image::~CPDF_Image()
|
| {
|
| if (m_bInline) {
|
| if (m_pStream) {
|
| -#ifndef FOXIT_CHROME_BUILD
|
| - CPDF_Dictionary* pDict = m_pStream->GetDict();
|
| - if (pDict) {
|
| - CPDF_Object* pCSObj = pDict->GetElementValue(FX_BSTRC("ColorSpace"));
|
| - if (pCSObj && m_pDocument) {
|
| - m_pDocument->RemoveColorSpaceFromPageData(pCSObj);
|
| - }
|
| - }
|
| -#endif
|
| m_pStream->Release();
|
| }
|
| if (m_pInlineDict) {
|
| @@ -107,9 +98,7 @@ FX_BOOL CPDF_Image::LoadImageF(CPDF_Stream* pStream, FX_BOOL bInline)
|
| }
|
| m_pOC = pDict->GetDict(FX_BSTRC("OC"));
|
| m_bIsMask = !pDict->KeyExist(FX_BSTRC("ColorSpace")) || pDict->GetInteger(FX_BSTRC("ImageMask"));
|
| -#ifndef _FPDFAPI_MINI_
|
| m_bInterpolate = pDict->GetInteger(FX_BSTRC("Interpolate"));
|
| -#endif
|
| m_Height = pDict->GetInteger(FX_BSTRC("Height"));
|
| m_Width = pDict->GetInteger(FX_BSTRC("Width"));
|
| return TRUE;
|
|
|