@@ -36,6 +36,7 @@ using v8::Function;
36
36
using v8::HandleScope;
37
37
using v8::Isolate;
38
38
using v8::Local;
39
+ using v8::Message;
39
40
using v8::Object;
40
41
using v8::String;
41
42
using v8::Value;
@@ -361,7 +362,7 @@ class SameThreadInspectorSession : public InspectorSession {
361
362
};
362
363
363
364
void NotifyClusterWorkersDebugEnabled (Environment* env) {
364
- v8:: Isolate* isolate = env->isolate ();
365
+ Isolate* isolate = env->isolate ();
365
366
HandleScope handle_scope (isolate);
366
367
auto context = env->context ();
367
368
@@ -511,7 +512,7 @@ class NodeInspectorClient : public V8InspectorClient {
511
512
}
512
513
}
513
514
514
- void FatalException (Local<Value> error, Local<v8:: Message> message) {
515
+ void FatalException (Local<Value> error, Local<Message> message) {
515
516
Isolate* isolate = env_->isolate ();
516
517
Local<Context> context = env_->context ();
517
518
@@ -761,7 +762,7 @@ void Agent::WaitForDisconnect() {
761
762
}
762
763
}
763
764
764
- void Agent::FatalException (Local<Value> error, Local<v8:: Message> message) {
765
+ void Agent::FatalException (Local<Value> error, Local<Message> message) {
765
766
if (!IsListening ())
766
767
return ;
767
768
client_->FatalException (error, message);
@@ -773,8 +774,8 @@ void Agent::PauseOnNextJavascriptStatement(const std::string& reason) {
773
774
}
774
775
775
776
void Agent::RegisterAsyncHook (Isolate* isolate,
776
- v8:: Local<v8:: Function> enable_function,
777
- v8:: Local<v8:: Function> disable_function) {
777
+ Local<Function> enable_function,
778
+ Local<Function> disable_function) {
778
779
enable_async_hook_function_.Reset (isolate, enable_function);
779
780
disable_async_hook_function_.Reset (isolate, disable_function);
780
781
if (pending_enable_async_hook_) {
@@ -849,7 +850,7 @@ void Agent::RequestIoThreadStart() {
849
850
// continuous JS code) and to wake up libuv thread (in case Node is waiting
850
851
// for IO events)
851
852
uv_async_send (&start_io_thread_async);
852
- v8:: Isolate* isolate = parent_env_->isolate ();
853
+ Isolate* isolate = parent_env_->isolate ();
853
854
v8::Platform* platform = parent_env_->isolate_data ()->platform ();
854
855
platform->CallOnForegroundThread (isolate, new StartIoTask (this ));
855
856
isolate->RequestInterrupt (StartIoInterrupt, this );
0 commit comments