Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index da19f09f7cc22f6202ade9172d4edefeb943975b..79ced70618330252e00f1a2076f6bf6c567ff9ce 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -5441,7 +5441,7 @@ static void TestRightTrimFixedTypedArray(i::ExternalArrayType type, |
Heap* heap = isolate->heap(); |
Handle<FixedTypedArrayBase> array = |
- factory->NewFixedTypedArray(initial_length, type); |
+ factory->NewFixedTypedArray(initial_length, type, true); |
int old_size = array->size(); |
heap->RightTrimFixedArray<Heap::CONCURRENT_TO_SWEEPER>(*array, |
elements_to_trim); |