diff options
author | tsepez <tsepez@chromium.org> | 2016-12-01 13:54:42 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-12-01 13:54:42 -0800 |
commit | bea049784abf7c32d0b9758fc77d0e601d5c232b (patch) | |
tree | 8cb30eec48538191531ead20100d4e696fa6ebef /fpdfsdk/fpdfeditimg.cpp | |
parent | aeeb6d19d1fc794de482826ecaf8ec2fd9e92d0e (diff) | |
download | pdfium-bea049784abf7c32d0b9758fc77d0e601d5c232b.tar.xz |
Make more concrete stream classes private to .cpp files
Review-Url: https://codereview.chromium.org/2545653003
Diffstat (limited to 'fpdfsdk/fpdfeditimg.cpp')
-rw-r--r-- | fpdfsdk/fpdfeditimg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fpdfeditimg.cpp b/fpdfsdk/fpdfeditimg.cpp index da9f2b3909..2c869ac624 100644 --- a/fpdfsdk/fpdfeditimg.cpp +++ b/fpdfsdk/fpdfeditimg.cpp @@ -32,7 +32,7 @@ FPDFImageObj_LoadJpegFile(FPDF_PAGE* pages, if (!image_object || !fileAccess || !pages) return false; - IFX_SeekableReadStream* pFile = new CPDF_CustomAccess(fileAccess); + IFX_SeekableReadStream* pFile = MakeSeekableReadStream(fileAccess); CPDF_ImageObject* pImgObj = reinterpret_cast<CPDF_ImageObject*>(image_object); for (int index = 0; index < nCount; index++) { CPDF_Page* pPage = CPDFPageFromFPDFPage(pages[index]); |