| Index: xfa/fgas/crt/fgas_memory.h
|
| diff --git a/xfa/fgas/crt/fgas_memory.h b/xfa/fgas/crt/fgas_memory.h
|
| index a83933c7a5cff6e34a9f8dd9fda284333b4c65dd..1034c417d77378462d9cce878f5a38bbde543e40 100644
|
| --- a/xfa/fgas/crt/fgas_memory.h
|
| +++ b/xfa/fgas/crt/fgas_memory.h
|
| @@ -7,6 +7,8 @@
|
| #ifndef XFA_FGAS_CRT_FGAS_MEMORY_H_
|
| #define XFA_FGAS_CRT_FGAS_MEMORY_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "core/fxcrt/include/fx_memory.h"
|
| #include "core/fxcrt/include/fx_system.h"
|
|
|
| @@ -21,9 +23,9 @@ class IFX_MemoryAllocator {
|
| virtual void* Alloc(size_t size) = 0;
|
| virtual void Free(void* pBlock) = 0;
|
|
|
| - static IFX_MemoryAllocator* Create(FX_ALLOCTYPE eType,
|
| - size_t chunkSize,
|
| - size_t blockSize);
|
| + static std::unique_ptr<IFX_MemoryAllocator> Create(FX_ALLOCTYPE eType,
|
| + size_t chunkSize,
|
| + size_t blockSize);
|
| };
|
|
|
| class CFX_Target {
|
|
|