From 91f7f3fa6a6d62ed0ce819c3286b0ffe6eddedbc Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Wed, 2 Mar 2016 18:58:37 -0500 Subject: Remove unused CFX_GrowOnlyPool. The CFX_GrowOnlyPool class is never used, removed. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1757043002 . --- core/include/fxcrt/fx_memory.h | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'core/include') diff --git a/core/include/fxcrt/fx_memory.h b/core/include/fxcrt/fx_memory.h index b9b1888930..e1cc07090a 100644 --- a/core/include/fxcrt/fx_memory.h +++ b/core/include/fxcrt/fx_memory.h @@ -78,35 +78,7 @@ class CFX_DestructObject { public: virtual ~CFX_DestructObject() {} }; -class CFX_GrowOnlyPool { - public: - CFX_GrowOnlyPool(size_t trunk_size = 16384); - - ~CFX_GrowOnlyPool(); - void SetTrunkSize(size_t trunk_size) { m_TrunkSize = trunk_size; } - - void* AllocDebug(size_t size, const FX_CHAR* file, int line) { - return Alloc(size); - } - - void* Alloc(size_t size); - - void* ReallocDebug(void* p, size_t new_size, const FX_CHAR* file, int line) { - return NULL; - } - - void* Realloc(void* p, size_t new_size) { return NULL; } - - void Free(void* mem) {} - - void FreeAll(); - - private: - size_t m_TrunkSize; - - void* m_pFirstTrunk; -}; #endif // __cplusplus #endif // CORE_INCLUDE_FXCRT_FX_MEMORY_H_ -- cgit v1.2.3