| Index: base/trace_event/malloc_dump_provider.cc
|
| diff --git a/base/trace_event/malloc_dump_provider.cc b/base/trace_event/malloc_dump_provider.cc
|
| index 21357c7ab0d5baf9e85896985ce710ac8ddb561b..b575c6c24506f2db3d6a261c17d480010eb33537 100644
|
| --- a/base/trace_event/malloc_dump_provider.cc
|
| +++ b/base/trace_event/malloc_dump_provider.cc
|
| @@ -32,7 +32,7 @@ namespace base {
|
| namespace trace_event {
|
|
|
| namespace {
|
| -#if BUILDFLAG(USE_EXPERIMENTAL_ALLOCATOR_SHIM)
|
| +#if BUILDFLAG(USE_ALLOCATOR_SHIM)
|
|
|
| using allocator::AllocatorDispatch;
|
|
|
| @@ -139,7 +139,7 @@ AllocatorDispatch g_allocator_hooks = {
|
| &HookFreeDefiniteSize, /* free_definite_size_function */
|
| nullptr, /* next */
|
| };
|
| -#endif // BUILDFLAG(USE_EXPERIMENTAL_ALLOCATOR_SHIM)
|
| +#endif // BUILDFLAG(USE_ALLOCATOR_SHIM)
|
|
|
| #if defined(OS_WIN)
|
| // A structure containing some information about a given heap.
|
| @@ -326,7 +326,7 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDumpArgs& args,
|
| }
|
|
|
| void MallocDumpProvider::OnHeapProfilingEnabled(bool enabled) {
|
| -#if BUILDFLAG(USE_EXPERIMENTAL_ALLOCATOR_SHIM)
|
| +#if BUILDFLAG(USE_ALLOCATOR_SHIM)
|
| if (enabled) {
|
| allocation_register_.SetEnabled();
|
| allocator::InsertAllocatorDispatch(&g_allocator_hooks);
|
|
|