Index: src/profiler/heap-snapshot-generator.cc |
diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc |
index d0fa2e4c1b5f053f1f5a28c6f9788d9ee43fc7dc..2fd682e567945f989edb32fe6dce95fd63fee81a 100644 |
--- a/src/profiler/heap-snapshot-generator.cc |
+++ b/src/profiler/heap-snapshot-generator.cc |
@@ -1312,7 +1312,7 @@ void V8HeapExplorer::ExtractSharedFunctionInfoReferences( |
HeapObject* obj = shared; |
String* shared_name = shared->DebugName(); |
const char* name = NULL; |
- if (shared_name != *heap_->isolate()->factory()->empty_string()) { |
+ if (shared_name != heap_->empty_string()) { |
name = names_->GetName(shared_name); |
TagObject(shared->code(), names_->GetFormatted("(code for %s)", name)); |
} else { |