Index: src/allocation-tracker.cc |
diff --git a/src/allocation-tracker.cc b/src/allocation-tracker.cc |
index a9103a84a37bd7d025248284f65862ca659a09db..ce530d144abf85422dbe60e04e0577e55e342fd6 100644 |
--- a/src/allocation-tracker.cc |
+++ b/src/allocation-tracker.cc |
@@ -211,11 +211,6 @@ void AddressToTraceMap::RemoveRange(Address start, Address end) { |
} |
-static bool AddressesMatch(void* key1, void* key2) { |
- return key1 == key2; |
-} |
- |
- |
void AllocationTracker::DeleteFunctionInfo(FunctionInfo** info) { |
delete *info; |
} |
@@ -225,7 +220,7 @@ AllocationTracker::AllocationTracker( |
HeapObjectsMap* ids, StringsStorage* names) |
: ids_(ids), |
names_(names), |
- id_to_function_info_index_(AddressesMatch), |
+ id_to_function_info_index_(HashMap::PointersMatch), |
info_index_for_other_state_(0) { |
FunctionInfo* info = new FunctionInfo(); |
info->name = "(root)"; |