We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8734c67 commit b7876baCopy full SHA for b7876ba
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