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