Index: fpdfsdk/fpdf_dataavail.cpp |
diff --git a/fpdfsdk/fpdf_dataavail.cpp b/fpdfsdk/fpdf_dataavail.cpp |
index fb866ec229d96662fdc816e5d82cc1f32ba4aa4f..0bf67e9826c7c1056cf50080522223b6a3a084a5 100644 |
--- a/fpdfsdk/fpdf_dataavail.cpp |
+++ b/fpdfsdk/fpdf_dataavail.cpp |
@@ -57,14 +57,14 @@ class CFPDF_FileAvailWrap : public CPDF_DataAvail::FileAvail { |
FX_FILEAVAIL* m_pfileAvail; |
}; |
-class CFPDF_FileAccessWrap : public IFX_FileRead { |
+class CFPDF_FileAccessWrap : public IFX_SeekableReadStream { |
public: |
CFPDF_FileAccessWrap() { m_pFileAccess = nullptr; } |
~CFPDF_FileAccessWrap() override {} |
void Set(FPDF_FILEACCESS* pFile) { m_pFileAccess = pFile; } |
- // IFX_FileRead |
+ // IFX_SeekableReadStream |
FX_FILESIZE GetSize() override { return m_pFileAccess->m_FileLen; } |
FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override { |