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