Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 574b8fa24f6fb80528afe39fcadd9a6a4c3d40af..47fc1ce1b2f62ba22dd739aeba225c14da1b9230 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -1792,7 +1792,7 @@ |
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(); |
+ i::Handle<i::Object> receiver(isolate->global_proxy(), isolate); |
Local<Value> result; |
has_pending_exception = |
!ToLocal<Value>(i::Execution::Call(isolate, fun, receiver, 0, NULL), |