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

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: 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/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..ac1e5dcd8bb9d19eb493ec33a058bec90c8dc745 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
@@ -124,11 +124,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,
Łukasz Anforowicz 2017/04/24 18:46:10 IWYU: #include <unordered_map>?
+ 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