Index: fpdfsdk/fsdk_define.h |
diff --git a/fpdfsdk/fsdk_define.h b/fpdfsdk/fsdk_define.h |
index a3f5a30836bc5a03cf257b81d77252b5682f3c44..9a115966dbb789151bc8b0e53719169adcd709ae 100644 |
--- a/fpdfsdk/fsdk_define.h |
+++ b/fpdfsdk/fsdk_define.h |
@@ -27,12 +27,14 @@ class IFSDK_PAUSE_Adapter; |
// Layering prevents fxcrt from knowing about FPDF_FILEACCESS, so this can't |
// be a static method of IFX_SeekableReadStream. |
-IFX_SeekableReadStream* MakeSeekableReadStream(FPDF_FILEACCESS* pFileAccess); |
+CFX_RetainPtr<IFX_SeekableReadStream> MakeSeekableReadStream( |
+ FPDF_FILEACCESS* pFileAccess); |
#ifdef PDF_ENABLE_XFA |
// Layering prevents fxcrt from knowing about FPDF_FILEHANDLER, so this can't |
// be a static method of IFX_SeekableStream. |
-IFX_SeekableStream* MakeSeekableStream(FPDF_FILEHANDLER* pFileHandler); |
+CFX_RetainPtr<IFX_SeekableStream> MakeSeekableStream( |
+ FPDF_FILEHANDLER* pFileHandler); |
#endif // PDF_ENABLE_XFA |
// Object types for public FPDF_ types; these correspond to next layer down |