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

Unified Diff: base/trace_event/heap_profiler_allocation_context.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
Index: base/trace_event/heap_profiler_allocation_context.cc
diff --git a/base/trace_event/heap_profiler_allocation_context.cc b/base/trace_event/heap_profiler_allocation_context.cc
index 0f330a817ed6da977012ccb71afb975abaacc83f..c00194508c9d18816f30d14c73619a33341f4493 100644
--- a/base/trace_event/heap_profiler_allocation_context.cc
+++ b/base/trace_event/heap_profiler_allocation_context.cc
@@ -48,10 +48,12 @@ bool operator==(const AllocationContext& lhs, const AllocationContext& rhs) {
bool operator!=(const AllocationContext& lhs, const AllocationContext& rhs) {
return !(lhs == rhs);
}
+
} // namespace trace_event
} // namespace base
-namespace BASE_HASH_NAMESPACE {
+namespace std {
+
using base::trace_event::AllocationContext;
using base::trace_event::Backtrace;
using base::trace_event::StackFrame;
@@ -85,4 +87,4 @@ size_t hash<AllocationContext>::operator()(const AllocationContext& ctx) const {
return (backtrace_hash * 3) + type_hash;
}
-} // BASE_HASH_NAMESPACE
+} // namespace std
« no previous file with comments | « base/trace_event/heap_profiler_allocation_context.h ('k') | base/trace_event/heap_profiler_heap_dump_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698