Index: core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
index 66231aa5280835668e5699ad37ffc06ab46ca123..2f834ea400b8f3be2e1f3a313dabf30676746180 100644 |
--- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
+++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
@@ -1677,11 +1677,7 @@ CPDF_SyntaxParser::CPDF_SyntaxParser() |
m_pFileBuf = NULL; |
m_MetadataObjnum = 0; |
m_dwWordPos = 0; |
-#if defined(_FPDFAPI_MINI_) |
- m_bFileStream = TRUE; |
-#else |
m_bFileStream = FALSE; |
-#endif |
} |
CPDF_SyntaxParser::~CPDF_SyntaxParser() |
{ |
@@ -2469,10 +2465,6 @@ CPDF_Stream* CPDF_SyntaxParser::ReadStream(CPDF_Dictionary* pDict, PARSE_CONTEXT |
m_Pos = StreamStartPos; |
} |
CPDF_Stream* pStream; |
-#if defined(_FPDFAPI_MINI_) && !defined(_FXCORE_FEATURE_ALL_) |
- pStream = FX_NEW CPDF_Stream(m_pFileAccess, pCryptoHandler, m_HeaderOffset + m_Pos, len, pDict, gennum); |
- m_Pos += len; |
-#else |
FX_LPBYTE pData = FX_Alloc(FX_BYTE, len); |
if (!pData) { |
return NULL; |
@@ -2490,7 +2482,6 @@ CPDF_Stream* CPDF_SyntaxParser::ReadStream(CPDF_Dictionary* pDict, PARSE_CONTEXT |
dest_buf.DetachBuffer(); |
} |
pStream = FX_NEW CPDF_Stream(pData, len, pDict); |
-#endif |
if (pContext) { |
pContext->m_DataEnd = pContext->m_DataStart + len; |
} |