@@ -50,7 +50,7 @@ TEST_F(DebugSymbolsTest, ExternalStringDataOffset) {
50
50
TEST_F (DebugSymbolsTest, BaseObjectPersistentHandle) {
51
51
const v8::HandleScope handle_scope (isolate_);
52
52
const Argv argv;
53
- Env env{handle_scope, argv, this };
53
+ Env env{handle_scope, argv};
54
54
55
55
v8::Local<v8::Object> object = v8::Object::New (isolate_);
56
56
node::BaseObject obj (*env, object);
@@ -67,7 +67,7 @@ TEST_F(DebugSymbolsTest, BaseObjectPersistentHandle) {
67
67
TEST_F (DebugSymbolsTest, EnvironmentHandleWrapQueue) {
68
68
const v8::HandleScope handle_scope (isolate_);
69
69
const Argv argv;
70
- Env env{handle_scope, argv, this };
70
+ Env env{handle_scope, argv};
71
71
72
72
auto expected = reinterpret_cast <uintptr_t >((*env)->handle_wrap_queue ());
73
73
auto calculated = reinterpret_cast <uintptr_t >(*env) +
@@ -78,7 +78,7 @@ TEST_F(DebugSymbolsTest, EnvironmentHandleWrapQueue) {
78
78
TEST_F (DebugSymbolsTest, EnvironmentReqWrapQueue) {
79
79
const v8::HandleScope handle_scope (isolate_);
80
80
const Argv argv;
81
- Env env{handle_scope, argv, this };
81
+ Env env{handle_scope, argv};
82
82
83
83
auto expected = reinterpret_cast <uintptr_t >((*env)->req_wrap_queue ());
84
84
auto calculated = reinterpret_cast <uintptr_t >(*env) +
@@ -89,7 +89,7 @@ TEST_F(DebugSymbolsTest, EnvironmentReqWrapQueue) {
89
89
TEST_F (DebugSymbolsTest, HandleWrapList) {
90
90
const v8::HandleScope handle_scope (isolate_);
91
91
const Argv argv;
92
- Env env{handle_scope, argv, this };
92
+ Env env{handle_scope, argv};
93
93
94
94
uv_tcp_t handle;
95
95
@@ -118,7 +118,7 @@ TEST_F(DebugSymbolsTest, HandleWrapList) {
118
118
TEST_F (DebugSymbolsTest, ReqWrapList) {
119
119
const v8::HandleScope handle_scope (isolate_);
120
120
const Argv argv;
121
- Env env{handle_scope, argv, this };
121
+ Env env{handle_scope, argv};
122
122
123
123
auto obj_template = v8::FunctionTemplate::New (isolate_);
124
124
obj_template->InstanceTemplate ()->SetInternalFieldCount (1 );
0 commit comments