Index: third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp |
diff --git a/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp b/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp |
index 0ded4382f690281bc9fa9962c3907df152352c72..84e221517da6ffbecb161e0bd18b9928e0929e1d 100644 |
--- a/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp |
+++ b/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp |
@@ -4,6 +4,8 @@ |
#include "platform/PartitionAllocMemoryDumpProvider.h" |
+#include <unordered_map> |
+ |
#include "base/strings/stringprintf.h" |
#include "base/trace_event/heap_profiler_allocation_context.h" |
#include "base/trace_event/heap_profiler_allocation_context_tracker.h" |
@@ -136,8 +138,8 @@ bool PartitionAllocMemoryDumpProvider::OnMemoryDump( |
if (is_heap_profiling_enabled_) { |
// Overhead should always be reported, regardless of light vs. heavy. |
base::trace_event::TraceEventMemoryOverhead overhead; |
- base::hash_map<base::trace_event::AllocationContext, |
- base::trace_event::AllocationMetrics> |
+ std::unordered_map<base::trace_event::AllocationContext, |
+ base::trace_event::AllocationMetrics> |
metrics_by_context; |
{ |
MutexLocker locker(allocation_register_mutex_); |