diff --git a/src/node_contextify.cc b/src/node_contextify.cc index 49a049e24abf2a..e1fc5e5513d6ab 100644 --- a/src/node_contextify.cc +++ b/src/node_contextify.cc @@ -858,7 +858,7 @@ void ContextifyScript::RunInContext(const FunctionCallbackInfo& args) { CHECK(args[0]->IsObject() || args[0]->IsNull()); Local context; - std::shared_ptr microtask_queue; + std::shared_ptr microtask_queue; if (args[0]->IsObject()) { Local sandbox = args[0].As(); @@ -1242,7 +1242,7 @@ static void MeasureMemory(const FunctionCallbackInfo& args) { static_cast(mode)); isolate->MeasureMemory(std::move(delegate), static_cast(execution)); - v8::Local promise = resolver->GetPromise(); + Local promise = resolver->GetPromise(); args.GetReturnValue().Set(promise); }