Index: fpdfsdk/fpdfxfa/cpdfxfa_context.cpp |
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp b/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp |
index 7945786070718f16ef9b4a420554fc159af922fd..1995882388b457364d0c281501b4e62c34f91901 100644 |
--- a/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp |
+++ b/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp |
@@ -328,7 +328,7 @@ CFX_WideString CPDFXFA_Context::Response(const CFX_WideString& wsQuestion, |
return wsAnswer; |
} |
-IFX_SeekableReadStream* CPDFXFA_Context::DownloadURL( |
+CFX_RetainPtr<IFX_SeekableReadStream> CPDFXFA_Context::DownloadURL( |
const CFX_WideString& wsURL) { |
return m_pFormFillEnv ? m_pFormFillEnv->DownloadFromURL(wsURL.c_str()) |
: nullptr; |