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

Unified Diff: third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.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/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_);

Powered by Google App Engine
This is Rietveld 408576698