| Index: xfa/fde/cfde_txtedtbuf.h
|
| diff --git a/xfa/fde/cfde_txtedtbuf.h b/xfa/fde/cfde_txtedtbuf.h
|
| index e871ed9aedae0b6d7c310b3a69b4b3092b67c698..baf67cef0093433f06791676be72174edf1f2ef5 100644
|
| --- a/xfa/fde/cfde_txtedtbuf.h
|
| +++ b/xfa/fde/cfde_txtedtbuf.h
|
| @@ -7,6 +7,8 @@
|
| #ifndef XFA_FDE_CFDE_TXTEDTBUF_H_
|
| #define XFA_FDE_CFDE_TXTEDTBUF_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "core/fxcrt/include/fx_basic.h"
|
| #include "core/fxcrt/include/fx_system.h"
|
|
|
| @@ -55,7 +57,7 @@ class CFDE_TxtEdtBuf {
|
| int32_t m_nTotal;
|
| FX_BOOL m_bChanged;
|
| CFX_ArrayTemplate<FDE_CHUNKHEADER*> m_Chunks;
|
| - IFX_MemoryAllocator* m_pAllocator;
|
| + std::unique_ptr<IFX_MemoryAllocator> m_pAllocator;
|
| };
|
|
|
| #endif // XFA_FDE_CFDE_TXTEDTBUF_H_
|
|
|