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 671ac65364b7bc11e384b50c7a76161b44a91d1a..94ef5ed19ddb304bec0134310df99f6120d4158e 100644 |
--- a/base/trace_event/malloc_dump_provider.cc |
+++ b/base/trace_event/malloc_dump_provider.cc |
@@ -14,7 +14,6 @@ namespace trace_event { |
namespace { |
const char kDumperFriendlyName[] = "Malloc"; |
-const char kDumperName[] = "malloc"; |
} // namespace |
@@ -37,7 +36,8 @@ bool MallocDumpProvider::DumpInto(ProcessMemoryDump* pmd) { |
DCHECK(info.uordblks > 0); |
DCHECK_GE(info.arena + info.hblkhd, info.uordblks); |
- MemoryAllocatorDump* dump = pmd->CreateAllocatorDump(kDumperName); |
+ MemoryAllocatorDump* dump = |
+ pmd->CreateAllocatorDump("malloc", MemoryAllocatorDump::kRootHeap); |
if (!dump) |
return false; |