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

Unified Diff: third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp

Issue 2830093003: Replace uses of hash_map in //base (Closed)
Patch Set: WebKit callers 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..4e0c972015384f7c731137610358f786b74f60f2 100644
--- a/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp
+++ b/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp
@@ -136,8 +136,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,
Łukasz Anforowicz 2017/04/24 18:46:10 IWYU: #include <unordered_map>?
+ base::trace_event::AllocationMetrics>
metrics_by_context;
{
MutexLocker locker(allocation_register_mutex_);

Powered by Google App Engine
This is Rietveld 408576698