Index: test/cctest/test-global-handles.cc |
diff --git a/test/cctest/test-global-handles.cc b/test/cctest/test-global-handles.cc |
index 3d79dba7aa1d838a09035dacd4f1947a2116a528..10a1d7986e1459c34ccf586ab1fc0132f32eda40 100644 |
--- a/test/cctest/test-global-handles.cc |
+++ b/test/cctest/test-global-handles.cc |
@@ -418,7 +418,7 @@ class RandomMutationData { |
int32_t offset = ++weak_offset_; |
object->Set(7, v8::Integer::New(offset, isolate)); |
v8::Persistent<v8::Object> persistent(isolate, object); |
- persistent.MakeWeak(isolate, this, WeakCallback); |
+ persistent.MakeWeak(this, WeakCallback); |
persistent.MarkIndependent(); |
Object** location = v8::Utils::OpenPersistent(persistent).location(); |
bool inserted = |