| Index: Source/wtf/FastMalloc.cpp
|
| diff --git a/Source/wtf/FastMalloc.cpp b/Source/wtf/FastMalloc.cpp
|
| index 791f4c44ef544957fbc8d645c05a91bca09c0f65..5250977c6702408773c211dcd3b8af72c951fde9 100644
|
| --- a/Source/wtf/FastMalloc.cpp
|
| +++ b/Source/wtf/FastMalloc.cpp
|
| @@ -213,15 +213,6 @@ char* fastStrDup(const char* src)
|
|
|
| namespace WTF {
|
|
|
| -size_t fastMallocGoodSize(size_t bytes)
|
| -{
|
| -#if OS(MACOSX)
|
| - return malloc_good_size(bytes);
|
| -#else
|
| - return bytes;
|
| -#endif
|
| -}
|
| -
|
| void* fastMalloc(size_t n)
|
| {
|
| ASSERT(!isForbidden());
|
| @@ -2466,13 +2457,6 @@ static inline TCMalloc_PageHeap* getPageHeap()
|
|
|
| #define pageheap getPageHeap()
|
|
|
| -size_t fastMallocGoodSize(size_t bytes)
|
| -{
|
| - if (!phinited)
|
| - TCMalloc_ThreadCache::InitModule();
|
| - return AllocationSize(bytes);
|
| -}
|
| -
|
| #if USE_BACKGROUND_THREAD_TO_SCAVENGE_MEMORY
|
|
|
| #if HAVE(DISPATCH_H) || OS(WIN)
|
|
|