File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ namespace nodex {
59
59
if (expression.IsEmpty ())
60
60
RETURN (Undefined ());
61
61
62
- Local<Context> current_context = Isolate::GetCurrent ()-> GetCurrentContext ();
62
+ Local<Context> current_context = Nan:: GetCurrentContext ();
63
63
Local<Context> debug_context = v8::Debug::GetDebugContext ();
64
64
#if (NODE_MODULE_VERSION > 45)
65
65
if (debug_context.IsEmpty ()) {
@@ -89,7 +89,7 @@ namespace nodex {
89
89
}
90
90
91
91
static NAN_METHOD (ShareSecurityToken) {
92
- Local<Context> current_context = info. GetIsolate ()-> GetCurrentContext ();
92
+ Local<Context> current_context = Nan:: GetCurrentContext ();
93
93
Local<Context> debug_context = v8::Debug::GetDebugContext ();
94
94
#if (NODE_MODULE_VERSION > 45)
95
95
if (debug_context.IsEmpty ()) {
@@ -103,7 +103,7 @@ namespace nodex {
103
103
}
104
104
105
105
static NAN_METHOD (UnshareSecurityToken) {
106
- Local<Context> current_context = info. GetIsolate ()-> GetCurrentContext ();
106
+ Local<Context> current_context = Nan:: GetCurrentContext ();
107
107
Local<Context> debug_context = v8::Debug::GetDebugContext ();
108
108
#if (NODE_MODULE_VERSION > 45)
109
109
if (debug_context.IsEmpty ()) {
You can’t perform that action at this time.
0 commit comments