diff options
author | tsepez <tsepez@chromium.org> | 2016-12-02 09:48:30 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-12-02 09:48:30 -0800 |
commit | fa89a203151c3ea524fc4dfd7167e2a3baf332fa (patch) | |
tree | 87d019b2cc20c09176be5eaaf96a38c591aab20f /fpdfsdk/cpdfsdk_formfillenvironment.cpp | |
parent | d7ecb5f272de6cdd88ecef4c7b4d0dbee4355610 (diff) | |
download | pdfium-fa89a203151c3ea524fc4dfd7167e2a3baf332fa.tar.xz |
Make concrete stream classes private to .cpp, part 4.
This one is more complicated because we were using stack-based
instances of what should have been a Release()-only type.
Review-Url: https://codereview.chromium.org/2549573003
Diffstat (limited to 'fpdfsdk/cpdfsdk_formfillenvironment.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_formfillenvironment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_formfillenvironment.cpp b/fpdfsdk/cpdfsdk_formfillenvironment.cpp index 8ab3b46a91..ee7758c281 100644 --- a/fpdfsdk/cpdfsdk_formfillenvironment.cpp +++ b/fpdfsdk/cpdfsdk_formfillenvironment.cpp @@ -473,7 +473,7 @@ IFX_SeekableReadStream* CPDFSDK_FormFillEnvironment::DownloadFromURL( FPDF_LPFILEHANDLER fileHandler = m_pInfo->FFI_DownloadFromURL(m_pInfo, wsURL); - return new CFPDF_FileStream(fileHandler); + return MakeSeekableStream(fileHandler); } CFX_WideString CPDFSDK_FormFillEnvironment::PostRequestURL( |