| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/allocator/allocator_shim.h" | 5 #include "base/allocator/allocator_shim.h" |
| 6 | 6 |
| 7 #include "base/allocator/winheap_stubs_win.h" | 7 #include "base/allocator/winheap_stubs_win.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 | 9 |
| 10 namespace { | 10 namespace { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 } // namespace | 55 } // namespace |
| 56 | 56 |
| 57 const AllocatorDispatch AllocatorDispatch::default_dispatch = { | 57 const AllocatorDispatch AllocatorDispatch::default_dispatch = { |
| 58 &DefaultWinHeapMallocImpl, | 58 &DefaultWinHeapMallocImpl, |
| 59 &DefaultWinHeapCallocImpl, | 59 &DefaultWinHeapCallocImpl, |
| 60 &DefaultWinHeapMemalignImpl, | 60 &DefaultWinHeapMemalignImpl, |
| 61 &DefaultWinHeapReallocImpl, | 61 &DefaultWinHeapReallocImpl, |
| 62 &DefaultWinHeapFreeImpl, | 62 &DefaultWinHeapFreeImpl, |
| 63 &DefaultWinHeapGetSizeEstimateImpl, | 63 &DefaultWinHeapGetSizeEstimateImpl, |
| 64 nullptr, /* batch_malloc_function */ |
| 65 nullptr, /* batch_free_function */ |
| 64 nullptr, /* next */ | 66 nullptr, /* next */ |
| 65 }; | 67 }; |
| OLD | NEW |