Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 0bc3c1e13f6f4b47e124fbc38d5bf24a069ac76a..e15741cc2465e62c253a793add5fd9a436cbee92 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -5954,7 +5954,7 @@ TEST(WeakFixedArray) { |
Handle<HeapNumber> number = CcTest::i_isolate()->factory()->NewHeapNumber(1); |
Handle<WeakFixedArray> array = WeakFixedArray::Add(Handle<Object>(), number); |
array->Remove(number); |
- array->Compact(); |
+ array->Compact<WeakFixedArray::NullCallback>(); |
WeakFixedArray::Add(array, number); |
} |