webengine/osswebengine/MemoryManager/Src/SymbianDLAllocatorWrapper.cpp
branchRCL_3
changeset 48 79859ed3eea9
parent 46 30342f40acbf
child 49 919f36ff910f
equal deleted inserted replaced
47:e1bea15f9a39 48:79859ed3eea9
    15 *
    15 *
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 #include "FastAllocator.h"
    19 #include "FastAllocator.h"
    20 #include <MemoryManager.h>
    20 #include "MemoryManager.h"
    21 #include "MemoryPool.h"
    21 #include "MemoryPool.h"
    22 #include <e32std.h>
    22 #include <e32std.h>
    23 #include <e32debug.h>
    23 #include <e32debug.h>
    24 
    24 
    25 RSymbianDlAllocatorWrapper::RSymbianDlAllocatorWrapper(CNewSymbianHeapPool* aPool) : iPool( aPool )
    25 RSymbianDlAllocatorWrapper::RSymbianDlAllocatorWrapper(CNewSymbianHeapPool* aPool) : iPool( aPool )
    30 }
    30 }
    31 
    31 
    32 RSymbianDlAllocatorWrapper::~RSymbianDlAllocatorWrapper()
    32 RSymbianDlAllocatorWrapper::~RSymbianDlAllocatorWrapper()
    33 {
    33 {
    34 #ifdef OOM_LOGGING
    34 #ifdef OOM_LOGGING
    35     iPool->DumpHeapLogs(0);
    35     iPool->DumpHeapLogs();
    36 #endif
    36 #endif
    37 }
    37 }
    38 
    38 
    39 TAny* RSymbianDlAllocatorWrapper::Alloc(TInt aSize)
    39 TAny* RSymbianDlAllocatorWrapper::Alloc(TInt aSize)
    40 {
    40 {