| Index: src/isolate.h
|
| diff --git a/src/isolate.h b/src/isolate.h
|
| index ae38e71c7b8e2e07dd906bbec4666a7af2aefc1a..112dd4d5dc3b9c878107dcbd3e4ce4c30bbc1e0a 100644
|
| --- a/src/isolate.h
|
| +++ b/src/isolate.h
|
| @@ -1150,6 +1150,14 @@ class Isolate {
|
| return array_buffer_allocator_;
|
| }
|
|
|
| + void set_shared_array_buffer_allocator(
|
| + v8::ArrayBuffer::Allocator* allocator) {
|
| + shared_array_buffer_allocator_ = allocator;
|
| + }
|
| + v8::ArrayBuffer::Allocator* shared_array_buffer_allocator() {
|
| + return shared_array_buffer_allocator_;
|
| + }
|
| +
|
| protected:
|
| explicit Isolate(bool enable_serializer);
|
|
|
| @@ -1379,6 +1387,7 @@ class Isolate {
|
| List<Object*> partial_snapshot_cache_;
|
|
|
| v8::ArrayBuffer::Allocator* array_buffer_allocator_;
|
| + v8::ArrayBuffer::Allocator* shared_array_buffer_allocator_;
|
|
|
| friend class ExecutionAccess;
|
| friend class HandleScopeImplementer;
|
|
|