Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 17b904b046ebb757614c2e2b7f5e5eb5de14cf7f..b81296f475584ce449319dcb6215841bd0ba5af0 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -6240,7 +6240,7 @@ Local<Context> v8::Context::New(v8::Isolate* external_isolate, |
MaybeLocal<Context> v8::Context::FromSnapshot( |
v8::Isolate* external_isolate, size_t context_snapshot_index, |
- v8::ExtensionConfiguration* extensions) { |
+ v8::ExtensionConfiguration* extensions, MaybeLocal<Value> global_object) { |
size_t index_including_default_context = context_snapshot_index + 1; |
if (!i::Snapshot::HasContextSnapshot( |
reinterpret_cast<i::Isolate*>(external_isolate), |
@@ -6248,7 +6248,7 @@ MaybeLocal<Context> v8::Context::FromSnapshot( |
return MaybeLocal<Context>(); |
} |
return NewContext(external_isolate, extensions, MaybeLocal<ObjectTemplate>(), |
- MaybeLocal<Value>(), index_including_default_context); |
+ global_object, index_including_default_context); |
} |
MaybeLocal<Object> v8::Context::NewRemoteContext( |