Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 3b1f72ebf31734d63447c54f9d9700dc8ff906bc..8214028311bc1b7dcc60cd7cabb9801f86446438 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), |