Index: test/cctest/test-global-handles.cc |
diff --git a/test/cctest/test-global-handles.cc b/test/cctest/test-global-handles.cc |
index 07b4b4c39a6d1a639321c637dff37f2047034943..ea11dbcf3ad9d586d6794c27627a08dcec5e0464 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(this, WeakCallback); |
+ persistent.MakeWeak(isolate, this, WeakCallback); |
persistent.MarkIndependent(); |
Object** location = v8::Utils::OpenPersistent(persistent).location(); |
bool inserted = |