Index: src/profiler/heap-snapshot-generator.cc |
diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc |
index 75de3d6d1ab02563c999a5a3e2c1473cd92d41f5..da4236f1eea6bf1490809aa25ce33a53be4fc796 100644 |
--- a/src/profiler/heap-snapshot-generator.cc |
+++ b/src/profiler/heap-snapshot-generator.cc |
@@ -2222,7 +2222,7 @@ void V8HeapExplorer::TagGlobalObjects() { |
HandleScope scope(isolate); |
Handle<JSGlobalObject> global_obj = enumerator.at(i); |
urls[i] = global_object_name_resolver_->GetName( |
- Utils::ToLocal(Handle<JSObject>::cast(global_obj))); |
+ Utils::ReceiverToLocal(Handle<JSObject>::cast(global_obj))); |
} else { |
urls[i] = NULL; |
} |