Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp

Issue 2830093003: Replace uses of hash_map in //base (Closed)
Patch Set: iOS Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp
diff --git a/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp b/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp
index 4b8595ebf2a062a233e3a7514437cfc72992319c..baefa38a3657d96e2ca457172b38070de389e552 100644
--- a/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp
+++ b/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp
@@ -4,6 +4,8 @@
#include "platform/heap/BlinkGCMemoryDumpProvider.h"
+#include <unordered_map>
+
#include "base/trace_event/heap_profiler_allocation_context_tracker.h"
#include "base/trace_event/heap_profiler_allocation_register.h"
#include "base/trace_event/memory_allocator_dump.h"
@@ -67,8 +69,8 @@ bool BlinkGCMemoryDumpProvider::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_);

Powered by Google App Engine
This is Rietveld 408576698