| Index: samples/shell.cc
|
| diff --git a/samples/shell.cc b/samples/shell.cc
|
| index a061aa469af8e52aff31c8ed58dc460caa57da5e..48c042c7956d1a931926d9cfdbd6a0b17a71ba13 100644
|
| --- a/samples/shell.cc
|
| +++ b/samples/shell.cc
|
| @@ -82,8 +82,9 @@ int main(int argc, char* argv[]) {
|
| v8::V8::Initialize();
|
| v8::V8::SetFlagsFromCommandLine(&argc, argv, true);
|
| ShellArrayBufferAllocator array_buffer_allocator;
|
| - v8::V8::SetArrayBufferAllocator(&array_buffer_allocator);
|
| - v8::Isolate* isolate = v8::Isolate::New();
|
| + v8::Isolate::CreateParams create_params;
|
| + create_params.array_buffer_allocator = &array_buffer_allocator;
|
| + v8::Isolate* isolate = v8::Isolate::New(create_params);
|
| run_shell = (argc == 1);
|
| int result;
|
| {
|
|
|