Index: core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp |
diff --git a/core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp b/core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp |
index 0c48b5a13726ed0b810e5283618666562aec9b29..8d155e787b97c731e77feef064be752fec631fd6 100644 |
--- a/core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp |
+++ b/core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp |
@@ -443,8 +443,9 @@ CPDF_Stream* CPDF_StreamParser::ReadInlineStream(CPDF_Document* pDoc, |
} |
} |
pDict->SetAtInteger(FX_BSTRC("Length"), (int)dwStreamSize); |
- return CPDF_Stream::Create(pData, dwStreamSize, pDict); |
+ return new CPDF_Stream(pData, dwStreamSize, pDict); |
} |
+ |
#define MAX_WORD_BUFFER 256 |
#define MAX_STRING_LENGTH 32767 |
#define FXDWORD_TRUE FXDWORD_FROM_LSBFIRST(0x65757274) |