We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f19dae3 commit 2565ff0Copy full SHA for 2565ff0
src/inspector_js_api.cc
@@ -224,9 +224,9 @@ static void RegisterAsyncHookWrapper(const FunctionCallbackInfo<Value>& args) {
224
Environment* env = Environment::GetCurrent(args);
225
226
CHECK(args[0]->IsFunction());
227
- v8::Local<v8::Function> enable_function = args[0].As<Function>();
+ Local<Function> enable_function = args[0].As<Function>();
228
CHECK(args[1]->IsFunction());
229
- v8::Local<v8::Function> disable_function = args[1].As<Function>();
+ Local<Function> disable_function = args[1].As<Function>();
230
env->inspector_agent()->RegisterAsyncHook(env->isolate(),
231
enable_function, disable_function);
232
}
0 commit comments