| Index: base/trace_event/process_memory_dump.cc
 | 
| diff --git a/base/trace_event/process_memory_dump.cc b/base/trace_event/process_memory_dump.cc
 | 
| index bbca36c36528ae8b75397058c01b8269e2bc322c..836d6ae7d4378897fa177dacee45ae8114cb3cb1 100644
 | 
| --- a/base/trace_event/process_memory_dump.cc
 | 
| +++ b/base/trace_event/process_memory_dump.cc
 | 
| @@ -10,31 +10,32 @@
 | 
|  namespace base {
 | 
|  namespace trace_event {
 | 
|  
 | 
| -ProcessMemoryDump::ProcessMemoryDump()
 | 
| -    : has_process_totals_(false), has_process_mmaps_(false) {
 | 
| +ProcessMemoryDump::ProcessMemoryDump(
 | 
| +    const scoped_refptr<MemoryDumpSessionState>& session_state)
 | 
| +    : has_process_totals_(false),
 | 
| +      has_process_mmaps_(false),
 | 
| +      session_state_(session_state) {
 | 
|  }
 | 
|  
 | 
|  ProcessMemoryDump::~ProcessMemoryDump() {
 | 
|  }
 | 
|  
 | 
|  MemoryAllocatorDump* ProcessMemoryDump::CreateAllocatorDump(
 | 
| -    const std::string& name) {
 | 
| -  return CreateAllocatorDump(name, nullptr);
 | 
| -}
 | 
| -
 | 
| -MemoryAllocatorDump* ProcessMemoryDump::CreateAllocatorDump(
 | 
| -    const std::string& name,
 | 
| -    MemoryAllocatorDump* parent) {
 | 
| -  DCHECK_EQ(0ul, allocator_dumps_.count(name));
 | 
| -  MemoryAllocatorDump* mad = new MemoryAllocatorDump(name, parent);
 | 
| +    const std::string& allocator_name,
 | 
| +    const std::string& heap_name) {
 | 
| +  MemoryAllocatorDump* mad =
 | 
| +      new MemoryAllocatorDump(allocator_name, heap_name, this);
 | 
| +  DCHECK_EQ(0ul, allocator_dumps_.count(mad->GetAbsoluteName()));
 | 
|    allocator_dumps_storage_.push_back(mad);
 | 
| -  allocator_dumps_[name] = mad;
 | 
| +  allocator_dumps_[mad->GetAbsoluteName()] = mad;
 | 
|    return mad;
 | 
|  }
 | 
|  
 | 
|  MemoryAllocatorDump* ProcessMemoryDump::GetAllocatorDump(
 | 
| -    const std::string& name) const {
 | 
| -  auto it = allocator_dumps_.find(name);
 | 
| +    const std::string& allocator_name,
 | 
| +    const std::string& heap_name) const {
 | 
| +  auto it = allocator_dumps_.find(
 | 
| +      MemoryAllocatorDump::GetAbsoluteName(allocator_name, heap_name));
 | 
|    return it == allocator_dumps_.end() ? nullptr : it->second;
 | 
|  }
 | 
|  
 | 
| 
 |