Index: src/heap-snapshot-generator.cc |
diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc |
index bd47eec63b3e39c88afeb4a85ecb5d0b60dc7a86..25b1526d98ced35b77bd082d7f4ec414ab8e77c2 100644 |
--- a/src/heap-snapshot-generator.cc |
+++ b/src/heap-snapshot-generator.cc |
@@ -2472,7 +2472,7 @@ void HeapSnapshotJSONSerializer::SerializeImpl() { |
int HeapSnapshotJSONSerializer::GetStringId(const char* s) { |
HashMap::Entry* cache_entry = strings_.Lookup( |
- const_cast<char*>(s), ObjectHash(s), true); |
+ const_cast<char*>(s), StringHash(s), true); |
if (cache_entry->value == NULL) { |
cache_entry->value = reinterpret_cast<void*>(next_string_id_++); |
} |