| Index: src/heap-snapshot-generator.cc
|
| diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc
|
| index cafee77b4ce10d20be74ee3df7fe290349cff63f..3aa0ba6f5ef8267ed093126355a90c0a34ff5eda 100644
|
| --- a/src/heap-snapshot-generator.cc
|
| +++ b/src/heap-snapshot-generator.cc
|
| @@ -1752,7 +1752,7 @@ String* V8HeapExplorer::GetConstructorName(JSObject* object) {
|
| Object* constructor_prop = NULL;
|
| Isolate* isolate = heap->isolate();
|
| LookupResult result(isolate);
|
| - object->LocalLookupRealNamedProperty(
|
| + object->LookupOwnRealNamedProperty(
|
| isolate->factory()->constructor_string(), &result);
|
| if (!result.IsFound()) return object->constructor_name();
|
|
|
|
|