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