Index: src/gdb-jit.cc |
diff --git a/src/gdb-jit.cc b/src/gdb-jit.cc |
index 0df5975b545c183f9b7d8fdc01cf273dee640642..e73b7337e75f85a383b65219038c8cef8e20495d 100644 |
--- a/src/gdb-jit.cc |
+++ b/src/gdb-jit.cc |
@@ -2012,17 +2012,19 @@ static uint32_t HashCodeAddress(Address addr) { |
return static_cast<uint32_t>((offset >> kCodeAlignmentBits) * kGoldenRatio); |
} |
- |
-static HashMap* GetLineMap() { |
- static HashMap* line_map = NULL; |
- if (line_map == NULL) line_map = new HashMap(&HashMap::PointersMatch); |
+static base::HashMap* GetLineMap() { |
+ static base::HashMap* line_map = NULL; |
+ if (line_map == NULL) { |
+ line_map = new base::HashMap(&base::HashMap::PointersMatch); |
+ } |
return line_map; |
} |
static void PutLineInfo(Address addr, LineInfo* info) { |
- HashMap* line_map = GetLineMap(); |
- HashMap::Entry* e = line_map->LookupOrInsert(addr, HashCodeAddress(addr)); |
+ base::HashMap* line_map = GetLineMap(); |
+ base::HashMap::Entry* e = |
+ line_map->LookupOrInsert(addr, HashCodeAddress(addr)); |
if (e->value != NULL) delete static_cast<LineInfo*>(e->value); |
e->value = info; |
} |