summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_formfillenvironment.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-12-02 09:48:30 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-02 09:48:30 -0800
commitfa89a203151c3ea524fc4dfd7167e2a3baf332fa (patch)
tree87d019b2cc20c09176be5eaaf96a38c591aab20f /fpdfsdk/cpdfsdk_formfillenvironment.cpp
parentd7ecb5f272de6cdd88ecef4c7b4d0dbee4355610 (diff)
downloadpdfium-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.cpp2
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(