summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authorArtem Strygin <art-snake@yandex-team.ru>2017-07-27 14:01:32 +0300
committerChromium commit bot <commit-bot@chromium.org>2017-07-28 00:03:54 +0000
commit834ebece214f06c6e9fda803ab321e8453b3a54b (patch)
tree259c4aead897943a48c99016d17cd63a04de5d12 /fpdfsdk
parent672a1721620c3f4e62fe6adfaceb929d423ae31f (diff)
downloadpdfium-834ebece214f06c6e9fda803ab321e8453b3a54b.tar.xz
Implement read validator.
The wrapper for IFX_SeekableReadStream. Which allow us to check data availability on read request and request downloading of non available data on fly. Change-Id: I27c66cd58f43f8432f73104cc3f4c980515a9b56 Reviewed-on: https://pdfium-review.googlesource.com/9050 Commit-Queue: Art Snake <art-snake@yandex-team.ru> Reviewed-by: (OOO Jul 28 - Aug 8) dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/fpdf_dataavail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fpdf_dataavail.cpp b/fpdfsdk/fpdf_dataavail.cpp
index 2511441af5..85dd873cf3 100644
--- a/fpdfsdk/fpdf_dataavail.cpp
+++ b/fpdfsdk/fpdf_dataavail.cpp
@@ -105,9 +105,9 @@ class CFPDF_DataAvail {
m_FileRead(pdfium::MakeRetain<CFPDF_FileAccessWrap>()) {}
~CFPDF_DataAvail() {}
- std::unique_ptr<CPDF_DataAvail> m_pDataAvail;
std::unique_ptr<CFPDF_FileAvailWrap> m_FileAvail;
CFX_RetainPtr<CFPDF_FileAccessWrap> m_FileRead;
+ std::unique_ptr<CPDF_DataAvail> m_pDataAvail;
};
CFPDF_DataAvail* CFPDFDataAvailFromFPDFAvail(FPDF_AVAIL avail) {