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(
211
211
return MaybeLocal<Context>();
212
212
}
213
213
214
- auto context = env->context ();
214
+ Local<Context> context = env->context ();
215
215
ctx->SetSecurityToken (context->GetSecurityToken ());
216
216
217
217
// 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) {
782
782
}
783
783
contextify_script->script_ .Reset (isolate, v8_script.ToLocalChecked ());
784
784
785
- auto env_context = env->context ();
785
+ Local<Context> env_context = env->context ();
786
786
if (compile_options == ScriptCompiler::kConsumeCodeCache ) {
787
787
args.This ()->Set (
788
788
env_context,
@@ -892,7 +892,7 @@ void ContextifyScript::RunInContext(const FunctionCallbackInfo<Value>& args) {
892
892
ContextifyContext::ContextFromContextifiedSandbox (env, sandbox);
893
893
CHECK_NOT_NULL (contextify_context);
894
894
895
- auto context = contextify_context->context ();
895
+ Local<Context> context = contextify_context->context ();
896
896
if (context.IsEmpty ())
897
897
return ;
898
898
You can’t perform that action at this time.
0 commit comments