Skip to content

Commit e9d19ac

Browse files
juanarbolruyadorno
authored andcommitted
src: use imported namespaces in node_contextify.cc
PR-URL: #44299 Reviewed-By: Feng Yu <F3n67u@outlook.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 8977a87 commit e9d19ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node_contextify.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ void ContextifyScript::RunInContext(const FunctionCallbackInfo<Value>& args) {
858858
CHECK(args[0]->IsObject() || args[0]->IsNull());
859859

860860
Local<Context> context;
861-
std::shared_ptr<v8::MicrotaskQueue> microtask_queue;
861+
std::shared_ptr<MicrotaskQueue> microtask_queue;
862862

863863
if (args[0]->IsObject()) {
864864
Local<Object> sandbox = args[0].As<Object>();
@@ -1242,7 +1242,7 @@ static void MeasureMemory(const FunctionCallbackInfo<Value>& args) {
12421242
static_cast<v8::MeasureMemoryMode>(mode));
12431243
isolate->MeasureMemory(std::move(delegate),
12441244
static_cast<v8::MeasureMemoryExecution>(execution));
1245-
v8::Local<v8::Promise> promise = resolver->GetPromise();
1245+
Local<Promise> promise = resolver->GetPromise();
12461246

12471247
args.GetReturnValue().Set(promise);
12481248
}

0 commit comments

Comments
 (0)