Skip to content

Commit b7876ba

Browse files
SarathGovindcodebytere
authored andcommitted
src: elevate namespaces for repeated entities
PR-URL: #24475 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 8734c67 commit b7876ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/inspector_js_api.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ static void RegisterAsyncHookWrapper(const FunctionCallbackInfo<Value>& args) {
224224
Environment* env = Environment::GetCurrent(args);
225225

226226
CHECK(args[0]->IsFunction());
227-
v8::Local<v8::Function> enable_function = args[0].As<Function>();
227+
Local<Function> enable_function = args[0].As<Function>();
228228
CHECK(args[1]->IsFunction());
229-
v8::Local<v8::Function> disable_function = args[1].As<Function>();
229+
Local<Function> disable_function = args[1].As<Function>();
230230
env->inspector_agent()->RegisterAsyncHook(env->isolate(),
231231
enable_function, disable_function);
232232
}

0 commit comments

Comments
 (0)