Chromium Code Reviews| Index: Source/wtf/OSAllocator.h | 
| diff --git a/Source/wtf/OSAllocator.h b/Source/wtf/OSAllocator.h | 
| index a12a46749723660017ef9502e77c4207e6135e5f..89a1328e57a0a95c3b9c8d7532fa7bfa43271c54 100644 | 
| --- a/Source/wtf/OSAllocator.h | 
| +++ b/Source/wtf/OSAllocator.h | 
| @@ -83,14 +83,9 @@ inline void* OSAllocator::reserveAndCommit(size_t reserveSize, size_t commitSize | 
| inline void OSAllocator::decommitAndRelease(void* releaseBase, size_t releaseSize, void* decommitBase, size_t decommitSize) | 
| { | 
| ASSERT(decommitBase >= releaseBase && (static_cast<char*>(decommitBase) + decommitSize) <= (static_cast<char*>(releaseBase) + releaseSize)); | 
| -#if OS(WINCE) | 
| - // On most platforms we can actually skip this final decommit; releasing the VM will | 
| - // implicitly decommit any physical memory in the region. This is not true on WINCE. | 
| - decommit(decommitBase, decommitSize); | 
| 
 
jamesr
2013/04/20 01:37:01
as a followup, could we remove these parameters co
 
 | 
| -#else | 
| UNUSED_PARAM(decommitBase); | 
| UNUSED_PARAM(decommitSize); | 
| -#endif | 
| + | 
| releaseDecommitted(releaseBase, releaseSize); | 
| } |