File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments