From f52bb3802b6924484a0a660785a1fee3aff94033 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9?= Date: Sun, 21 Aug 2022 03:53:42 -0500 Subject: [PATCH] src: use imported namespaces in `node_contextify.cc` PR-URL: https://github.com/nodejs/node/pull/44299 Reviewed-By: Feng Yu Reviewed-By: Anna Henningsen --- 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); }