| Index: src/profile-generator.cc
|
| diff --git a/src/profile-generator.cc b/src/profile-generator.cc
|
| index 0cf96ba4e0587bfddd181e121d0a0521bb8b4bcc..c954c4fbc63189d046638e61a4070ce1ff3378f5 100644
|
| --- a/src/profile-generator.cc
|
| +++ b/src/profile-generator.cc
|
| @@ -1907,7 +1907,7 @@ void V8HeapExplorer::ExtractClosureReferences(JSObject* js_obj,
|
| HandleScope hs;
|
| JSFunction* func = JSFunction::cast(js_obj);
|
| Context* context = func->context();
|
| - ZoneScope zscope(DELETE_ON_EXIT);
|
| + ZoneScope zscope(Isolate::Current(), DELETE_ON_EXIT);
|
| SerializedScopeInfo* serialized_scope_info =
|
| context->closure()->shared()->scope_info();
|
| ScopeInfo<ZoneListAllocationPolicy> zone_scope_info(serialized_scope_info);
|
|
|