| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index b7a5b2e4ec45e1642a6ad578e9f98604f490d806..148b5079d8291d04d4a008f942b50004f1229222 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -6076,7 +6076,7 @@ static i::Handle<ObjectType> CreateEnvironment(
|
| *Utils::OpenHandle(*global_template));
|
|
|
| proxy_template->SetInternalFieldCount(
|
| - v8::Context::kProxyInternalFieldCount);
|
| + global_template->InternalFieldCount());
|
|
|
| // Migrate security handlers from global_template to
|
| // proxy_template. Temporarily removing access check
|
|
|