Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Unified Diff: src/profiler/heap-snapshot-generator.cc

Issue 1413463006: Map v8::Object to v8::internal::JSReceiver (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}
« src/api.cc ('K') | « src/objects.cc ('k') | test/cctest/compiler/function-tester.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698