Skip to content

Commit 2565ff0

Browse files
SarathGovindrvagg
authored andcommittedNov 28, 2018
src: elevate namespaces for repeated entities
PR-URL: #24475 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent f19dae3 commit 2565ff0

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)