| Index: test/cctest/test-typedarrays.cc
|
| diff --git a/test/cctest/test-typedarrays.cc b/test/cctest/test-typedarrays.cc
|
| index d031048caeb833adc7b7e15dd3d4dc242e6e338b..d371673b9ea8f5806a273d837deec07f459e41fb 100644
|
| --- a/test/cctest/test-typedarrays.cc
|
| +++ b/test/cctest/test-typedarrays.cc
|
| @@ -72,7 +72,9 @@ TEST(CopyContentsView) {
|
| TEST(AllocateNotExternal) {
|
| LocalContext env;
|
| v8::HandleScope scope(env->GetIsolate());
|
| - void* memory = V8::ArrayBufferAllocator()->Allocate(1024);
|
| + void* memory = reinterpret_cast<Isolate*>(env->GetIsolate())
|
| + ->array_buffer_allocator()
|
| + ->Allocate(1024);
|
| v8::Local<v8::ArrayBuffer> buffer =
|
| v8::ArrayBuffer::New(env->GetIsolate(), memory, 1024,
|
| v8::ArrayBufferCreationMode::kInternalized);
|
|
|