Index: test/cctest/test-mark-compact.cc |
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc |
index ec70a4ca7b8641db4e2919d63988a5572aa85e44..a8cc6c785570873c9a95856fe96ecc4780f77af4 100644 |
--- a/test/cctest/test-mark-compact.cc |
+++ b/test/cctest/test-mark-compact.cc |
@@ -470,7 +470,9 @@ static intptr_t MemoryInUse() { |
intptr_t ShortLivingIsolate() { |
- v8::Isolate* isolate = v8::Isolate::New(); |
+ v8::Isolate::CreateParams create_params; |
+ create_params.array_buffer_allocator = CcTest::array_buffer_allocator(); |
+ v8::Isolate* isolate = v8::Isolate::New(create_params); |
{ v8::Isolate::Scope isolate_scope(isolate); |
v8::Locker lock(isolate); |
v8::HandleScope handle_scope(isolate); |