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

Unified Diff: src/gdb-jit.cc

Issue 2354593002: [base] Template MatchFun in TemplateHashMapImpl (Closed)
Patch Set: Remove bad search-replace Created 4 years, 3 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 | « src/base/hashmap.h ('k') | src/libsampler/sampler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gdb-jit.cc
diff --git a/src/gdb-jit.cc b/src/gdb-jit.cc
index 61615af81b4b4c52c3308ce1289d20c38a7ebc68..4e739815933102620304a087cb8dc968d353c75b 100644
--- a/src/gdb-jit.cc
+++ b/src/gdb-jit.cc
@@ -2016,7 +2016,7 @@ static uint32_t HashCodeAddress(Address addr) {
static base::HashMap* GetLineMap() {
static base::HashMap* line_map = NULL;
if (line_map == NULL) {
- line_map = new base::HashMap(&base::HashMap::PointersMatch);
+ line_map = new base::HashMap();
}
return line_map;
}
« no previous file with comments | « src/base/hashmap.h ('k') | src/libsampler/sampler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698