Index: test/cctest/test-weaksets.cc |
diff --git a/test/cctest/test-weaksets.cc b/test/cctest/test-weaksets.cc |
index f7cc73cdc3f7596c2dd945715f4efab9e36d5038..ee757448bdd354e605781c737859c99931c89f6a 100644 |
--- a/test/cctest/test-weaksets.cc |
+++ b/test/cctest/test-weaksets.cc |
@@ -69,7 +69,7 @@ static void WeakPointerCallback(v8::Isolate* isolate, |
void* id) { |
ASSERT(id == reinterpret_cast<void*>(1234)); |
NumberOfWeakCalls++; |
- handle->Dispose(); |
+ handle->Reset(); |
} |