Index: fpdfsdk/cpdfsdk_formfillenvironment.cpp |
diff --git a/fpdfsdk/cpdfsdk_formfillenvironment.cpp b/fpdfsdk/cpdfsdk_formfillenvironment.cpp |
index 8ab3b46a916971d040b727c9f1f749e6129f3adc..ee7758c281c8d939156a296736cd14c9ebefe8fd 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( |