@@ -70,7 +70,7 @@ TEST_F(DebugSymbolsTest, ExternalStringDataOffset) {
70
70
TEST_F (DebugSymbolsTest, BaseObjectPersistentHandle) {
71
71
const v8::HandleScope handle_scope (isolate_);
72
72
const Argv argv;
73
- Env env{handle_scope, argv, this };
73
+ Env env{handle_scope, argv};
74
74
75
75
v8::Local<v8::Object> object = v8::Object::New (isolate_);
76
76
node::BaseObject obj (*env, object);
@@ -87,7 +87,7 @@ TEST_F(DebugSymbolsTest, BaseObjectPersistentHandle) {
87
87
TEST_F (DebugSymbolsTest, EnvironmentHandleWrapQueue) {
88
88
const v8::HandleScope handle_scope (isolate_);
89
89
const Argv argv;
90
- Env env{handle_scope, argv, this };
90
+ Env env{handle_scope, argv};
91
91
92
92
auto expected = reinterpret_cast <uintptr_t >((*env)->handle_wrap_queue ());
93
93
auto calculated = reinterpret_cast <uintptr_t >(*env) +
@@ -98,7 +98,7 @@ TEST_F(DebugSymbolsTest, EnvironmentHandleWrapQueue) {
98
98
TEST_F (DebugSymbolsTest, EnvironmentReqWrapQueue) {
99
99
const v8::HandleScope handle_scope (isolate_);
100
100
const Argv argv;
101
- Env env{handle_scope, argv, this };
101
+ Env env{handle_scope, argv};
102
102
103
103
auto expected = reinterpret_cast <uintptr_t >((*env)->req_wrap_queue ());
104
104
auto calculated = reinterpret_cast <uintptr_t >(*env) +
@@ -109,7 +109,7 @@ TEST_F(DebugSymbolsTest, EnvironmentReqWrapQueue) {
109
109
TEST_F (DebugSymbolsTest, HandleWrapList) {
110
110
const v8::HandleScope handle_scope (isolate_);
111
111
const Argv argv;
112
- Env env{handle_scope, argv, this };
112
+ Env env{handle_scope, argv};
113
113
114
114
uv_tcp_t handle;
115
115
@@ -138,7 +138,7 @@ TEST_F(DebugSymbolsTest, HandleWrapList) {
138
138
TEST_F (DebugSymbolsTest, ReqWrapList) {
139
139
const v8::HandleScope handle_scope (isolate_);
140
140
const Argv argv;
141
- Env env{handle_scope, argv, this };
141
+ Env env{handle_scope, argv};
142
142
143
143
auto obj_template = v8::FunctionTemplate::New (isolate_);
144
144
obj_template->InstanceTemplate ()->SetInternalFieldCount (1 );
0 commit comments