Index: test/unittests/interpreter/constant-array-builder-unittest.cc |
diff --git a/test/unittests/interpreter/constant-array-builder-unittest.cc b/test/unittests/interpreter/constant-array-builder-unittest.cc |
index ea5d1bb8c339322855a40113e8b0baa369f919e0..b32b1af55c3d3dfcd6f005dc177639190863d7ee 100644 |
--- a/test/unittests/interpreter/constant-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/constant-array-builder-unittest.cc |
@@ -158,8 +158,7 @@ TEST_F(ConstantArrayBuilderTest, ToFixedArray) { |
builder.Insert(object); |
CHECK(builder.At(i)->SameValue(*object)); |
} |
- Handle<FixedArray> constant_array = |
- builder.ToFixedArray(isolate()->factory()); |
+ Handle<FixedArray> constant_array = builder.ToFixedArray(); |
CHECK_EQ(constant_array->length(), kNumberOfElements); |
for (size_t i = 0; i < kNumberOfElements; i++) { |
CHECK(constant_array->get(static_cast<int>(i))->SameValue(*builder.At(i))); |