From 55d9bd2192268c608aa7c1938e6103e0ba30993e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20Arboleda?= Date: Fri, 19 Aug 2022 17:24:20 -0500 Subject: [PATCH] src: use imported namespaces in `node_contextify.cc` --- src/node_contextify.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }