Skip to content

Commit 525fbfd

Browse files
committed
src: use imported namespaces in node_contextify.cc
PR-URL: #44299 Reviewed-By: Feng Yu <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 4bdd4a3 commit 525fbfd

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
@@ -864,7 +864,7 @@ void ContextifyScript::RunInContext(const FunctionCallbackInfo<Value>& args) {
864864
CHECK(args[0]->IsObject() || args[0]->IsNull());
865865

866866
Local<Context> context;
867-
std::shared_ptr<v8::MicrotaskQueue> microtask_queue;
867+
std::shared_ptr<MicrotaskQueue> microtask_queue;
868868

869869
if (args[0]->IsObject()) {
870870
Local<Object> sandbox = args[0].As<Object>();
@@ -1247,7 +1247,7 @@ static void MeasureMemory(const FunctionCallbackInfo<Value>& args) {
12471247
static_cast<v8::MeasureMemoryMode>(mode));
12481248
isolate->MeasureMemory(std::move(delegate),
12491249
static_cast<v8::MeasureMemoryExecution>(execution));
1250-
v8::Local<v8::Promise> promise = resolver->GetPromise();
1250+
Local<Promise> promise = resolver->GetPromise();
12511251

12521252
args.GetReturnValue().Set(promise);
12531253
}

0 commit comments

Comments
 (0)