summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfeditimg.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-12-01 13:54:42 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-01 13:54:42 -0800
commitbea049784abf7c32d0b9758fc77d0e601d5c232b (patch)
tree8cb30eec48538191531ead20100d4e696fa6ebef /fpdfsdk/fpdfeditimg.cpp
parentaeeb6d19d1fc794de482826ecaf8ec2fd9e92d0e (diff)
downloadpdfium-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.cpp2
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]);