| Index: base/allocator/allocator_shim_win.cc
|
| diff --git a/base/allocator/allocator_shim_win.cc b/base/allocator/allocator_shim_win.cc
|
| index 2c5a40fe5de73f4b4c7cd3e1839b28b66df8022b..b65544f5dd89ad00db76f36f894347a8506e76df 100644
|
| --- a/base/allocator/allocator_shim_win.cc
|
| +++ b/base/allocator/allocator_shim_win.cc
|
| @@ -26,6 +26,12 @@ extern "C" {
|
| void* _crtheap = reinterpret_cast<void*>(1);
|
| }
|
|
|
| +namespace base {
|
| +namespace allocator {
|
| +bool g_is_win_shim_layer_initialized = false;
|
| +} // namespace allocator
|
| +} // namespace base
|
| +
|
| namespace {
|
|
|
| const size_t kWindowsPageSize = 4096;
|
| @@ -211,6 +217,7 @@ intptr_t _get_heap_handle() {
|
|
|
| // heapinit.c
|
| int _heap_init() {
|
| + base::allocator::g_is_win_shim_layer_initialized = true;
|
| return win_heap_init() ? 1 : 0;
|
| }
|
|
|
|
|