Index: core/fpdfapi/edit/cpdf_creator.h |
diff --git a/core/fpdfapi/edit/cpdf_creator.h b/core/fpdfapi/edit/cpdf_creator.h |
index c04db6eb37db858edf1b6d96af7c7e79edbaea51..aeb7d6675c1d269b22029c5321c54647e1eff9ec 100644 |
--- a/core/fpdfapi/edit/cpdf_creator.h |
+++ b/core/fpdfapi/edit/cpdf_creator.h |
@@ -9,6 +9,7 @@ |
#include <memory> |
+#include "core/fxcrt/cfx_retain_ptr.h" |
#include "core/fxcrt/fx_basic.h" |
class CPDF_Array; |
@@ -32,7 +33,7 @@ class CPDF_Creator { |
~CPDF_Creator(); |
void RemoveSecurity(); |
- bool Create(IFX_WriteStream* pFile, uint32_t flags = 0); |
+ bool Create(const CFX_RetainPtr<IFX_WriteStream>& pFile, uint32_t flags = 0); |
int32_t Continue(IFX_Pause* pPause = nullptr); |
bool SetFileVersion(int32_t fileVersion = 17); |