Index: core/fpdfapi/parser/cfdf_document.cpp |
diff --git a/core/fpdfapi/parser/cfdf_document.cpp b/core/fpdfapi/parser/cfdf_document.cpp |
index a1518dfed099f6a69f6d389716232b840226441b..3bafdda9f253f9a17640061a67e83659ab40c175 100644 |
--- a/core/fpdfapi/parser/cfdf_document.cpp |
+++ b/core/fpdfapi/parser/cfdf_document.cpp |
@@ -33,7 +33,8 @@ CFDF_Document* CFDF_Document::CreateNewDoc() { |
return pDoc; |
} |
-CFDF_Document* CFDF_Document::ParseFile(IFX_FileRead* pFile, FX_BOOL bOwnFile) { |
+CFDF_Document* CFDF_Document::ParseFile(IFX_SeekableReadStream* pFile, |
+ FX_BOOL bOwnFile) { |
if (!pFile) |
return nullptr; |
@@ -47,7 +48,8 @@ CFDF_Document* CFDF_Document::ParseMemory(const uint8_t* pData, uint32_t size) { |
TRUE); |
} |
-void CFDF_Document::ParseStream(IFX_FileRead* pFile, FX_BOOL bOwnFile) { |
+void CFDF_Document::ParseStream(IFX_SeekableReadStream* pFile, |
+ FX_BOOL bOwnFile) { |
m_pFile = pFile; |
m_bOwnFile = bOwnFile; |
CPDF_SyntaxParser parser; |