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

Unified Diff: base/trace_event/heap_profiler_heap_dump_writer_unittest.cc

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
« no previous file with comments | « base/trace_event/heap_profiler_heap_dump_writer.cc ('k') | base/trace_event/malloc_dump_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/heap_profiler_heap_dump_writer_unittest.cc
diff --git a/base/trace_event/heap_profiler_heap_dump_writer_unittest.cc b/base/trace_event/heap_profiler_heap_dump_writer_unittest.cc
index 800b6235ea6d1e2e648b27ebb843acd4d4e70548..b090eee0d8e00865fec3bc1ca0091b31a1e359ac 100644
--- a/base/trace_event/heap_profiler_heap_dump_writer_unittest.cc
+++ b/base/trace_event/heap_profiler_heap_dump_writer_unittest.cc
@@ -179,7 +179,7 @@ TEST(HeapDumpWriterTest, SizeAndCountAreHexadecimal) {
}
TEST(HeapDumpWriterTest, BacktraceTypeNameTable) {
- hash_map<AllocationContext, AllocationMetrics> metrics_by_context;
+ std::unordered_map<AllocationContext, AllocationMetrics> metrics_by_context;
AllocationContext ctx;
ctx.backtrace.frames[0] = kBrowserMain;
@@ -274,7 +274,7 @@ TEST(HeapDumpWriterTest, BacktraceTypeNameTable) {
}
TEST(HeapDumpWriterTest, InsignificantValuesNotDumped) {
- hash_map<AllocationContext, AllocationMetrics> metrics_by_context;
+ std::unordered_map<AllocationContext, AllocationMetrics> metrics_by_context;
AllocationContext ctx;
ctx.backtrace.frames[0] = kBrowserMain;
« no previous file with comments | « base/trace_event/heap_profiler_heap_dump_writer.cc ('k') | base/trace_event/malloc_dump_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698