diff --git a/src/inspector_js_api.cc b/src/inspector_js_api.cc index 8ec6603e5b4bc3..52f14639a430d3 100644 --- a/src/inspector_js_api.cc +++ b/src/inspector_js_api.cc @@ -224,9 +224,9 @@ static void RegisterAsyncHookWrapper(const FunctionCallbackInfo& args) { Environment* env = Environment::GetCurrent(args); CHECK(args[0]->IsFunction()); - v8::Local enable_function = args[0].As(); + Local enable_function = args[0].As(); CHECK(args[1]->IsFunction()); - v8::Local disable_function = args[1].As(); + Local disable_function = args[1].As(); env->inspector_agent()->RegisterAsyncHook(env->isolate(), enable_function, disable_function); }