Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 47fc1ce1b2f62ba22dd739aeba225c14da1b9230..574b8fa24f6fb80528afe39fcadd9a6a4c3d40af 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -1792,7 +1792,7 @@ MaybeLocal<Value> Script::Run(Local<Context> context) { |
i::TimerEventScope<i::TimerEventExecute> timer_scope(isolate); |
TRACE_EVENT0("v8", "V8.Execute"); |
auto fun = i::Handle<i::JSFunction>::cast(Utils::OpenHandle(this)); |
- i::Handle<i::Object> receiver(isolate->global_proxy(), isolate); |
+ i::Handle<i::Object> receiver = isolate->global_proxy(); |
Local<Value> result; |
has_pending_exception = |
!ToLocal<Value>(i::Execution::Call(isolate, fun, receiver, 0, NULL), |