From e93deae7264d5306093ff807acde918f477f15d8 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 ca374d71695..ae1b9f98e7b 100644 --- a/src/node_contextify.cc +++ b/src/node_contextify.cc @@ -864,7 +864,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(); @@ -1247,7 +1247,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); }