Index: test/cctest/test-alloc.cc |
diff --git a/test/cctest/test-alloc.cc b/test/cctest/test-alloc.cc |
index 0d3479a2c8a6cb13016022c6c9fe68b35ec39ea3..0cc6f19b928f88ee2ea2400ed4180e13470c6e2c 100644 |
--- a/test/cctest/test-alloc.cc |
+++ b/test/cctest/test-alloc.cc |
@@ -55,7 +55,7 @@ static MaybeObject* AllocateAfterFailures() { |
// Old data space. |
SimulateFullSpace(heap->old_data_space()); |
- CHECK(!heap->AllocateRawOneByteString(100, TENURED)->IsFailure()); |
+ CHECK(!heap->AllocateByteArray(100, TENURED)->IsFailure()); |
// Old pointer space. |
SimulateFullSpace(heap->old_pointer_space()); |