Index: src/profiler/heap-snapshot-generator.cc |
diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc |
index e37f03df1b00394eaa99625c3a987b930ceb4c1b..d69b1ed47441c9de8c354799be2686550212f84d 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; |
} |