Index: base/trace_event/memory_dump_provider.cc |
diff --git a/base/trace_event/memory_dump_provider.cc b/base/trace_event/memory_dump_provider.cc |
index 205fd326e5577ba3bcf7a300b004667a203903bc..a2d38897fda52b7e90233aba5a4928ba4234471c 100644 |
--- a/base/trace_event/memory_dump_provider.cc |
+++ b/base/trace_event/memory_dump_provider.cc |
@@ -4,7 +4,6 @@ |
#include "base/trace_event/memory_dump_provider.h" |
-#include "base/logging.h" |
#include "base/single_thread_task_runner.h" |
namespace base { |
@@ -22,11 +21,11 @@ MemoryDumpProvider::~MemoryDumpProvider() { |
} |
void MemoryDumpProvider::DeclareAllocatorAttribute( |
- const MemoryAllocatorDeclaredAttribute& attr) { |
- DCHECK_EQ(0u, allocator_attributes_.count(attr.name)) |
- << "Allocator attribute " << attr.name << " already declared for dumper " |
- << GetFriendlyName(); |
- allocator_attributes_[attr.name] = attr; |
+ const std::string& allocator_name, |
+ const std::string& attribute_name, |
+ const std::string& attribute_type) { |
+ allocator_attributes_type_info_.Set( |
+ allocator_name, attribute_name, attribute_type); |
} |
} // namespace trace_event |