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

Unified Diff: third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump.h

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/instrumentation/tracing/web_process_memory_dump.h
diff --git a/third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump.h b/third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump.h
index 8cb931799f1a51df8d7de5b6ffcc09d7f95109d5..ed02763f5c3ec157ff9ed712f57a7ce2e4dfffba 100644
--- a/third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump.h
+++ b/third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump.h
@@ -7,7 +7,9 @@
#include <map>
#include <memory>
+#include <unordered_map>
#include <vector>
+
#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "base/trace_event/heap_profiler_allocation_context.h"
@@ -124,11 +126,12 @@ class PLATFORM_EXPORT WebProcessMemoryDump final {
// Dumps heap memory usage. |allocatorName| is used as an absolute name for
// base::trace_event::ProcessMemoryDump::DumpHeapUsage().
- void DumpHeapUsage(const base::hash_map<base::trace_event::AllocationContext,
- base::trace_event::AllocationMetrics>&
- metrics_by_context,
- base::trace_event::TraceEventMemoryOverhead& overhead,
- const char* allocator_name);
+ void DumpHeapUsage(
+ const std::unordered_map<base::trace_event::AllocationContext,
+ base::trace_event::AllocationMetrics>&
+ metrics_by_context,
+ base::trace_event::TraceEventMemoryOverhead& overhead,
+ const char* allocator_name);
private:
FRIEND_TEST_ALL_PREFIXES(WebProcessMemoryDumpTest, IntegrationTest);

Powered by Google App Engine
This is Rietveld 408576698