Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index eccff0503efe18dc40f54318013cb65853b32c7f..c3188f13219b69a1b8cbfb3090464c4cbebf821c 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -5956,8 +5956,8 @@ Local<Context> NewContext(v8::Isolate* external_isolate, |
v8::MaybeLocal<Value> global_object, |
size_t context_snapshot_index) { |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(external_isolate); |
- LOG_API(isolate, Context, New); |
TRACE_EVENT_CALL_STATS_SCOPED(isolate, "v8", "V8.NewContext"); |
+ LOG_API(isolate, Context, New); |
i::HandleScope scope(isolate); |
ExtensionConfiguration no_extensions; |
if (extensions == NULL) extensions = &no_extensions; |