Skip to content

Commit 2ad4018

Browse files
committed
f
1 parent 2df3b95 commit 2ad4018

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/node_contextify.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ MaybeLocal<Context> ContextifyContext::CreateV8Context(
211211
return MaybeLocal<Context>();
212212
}
213213

214-
auto context = env->context();
214+
Local<Context> context = env->context();
215215
ctx->SetSecurityToken(context->GetSecurityToken());
216216

217217
// We need to tie the lifetime of the sandbox object with the lifetime of
@@ -782,7 +782,7 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
782782
}
783783
contextify_script->script_.Reset(isolate, v8_script.ToLocalChecked());
784784

785-
auto env_context = env->context();
785+
Local<Context> env_context = env->context();
786786
if (compile_options == ScriptCompiler::kConsumeCodeCache) {
787787
args.This()->Set(
788788
env_context,
@@ -892,7 +892,7 @@ void ContextifyScript::RunInContext(const FunctionCallbackInfo<Value>& args) {
892892
ContextifyContext::ContextFromContextifiedSandbox(env, sandbox);
893893
CHECK_NOT_NULL(contextify_context);
894894

895-
auto context = contextify_context->context();
895+
Local<Context> context = contextify_context->context();
896896
if (context.IsEmpty())
897897
return;
898898

0 commit comments

Comments
 (0)