@@ -5218,7 +5218,8 @@ class V8_EXPORT SharedArrayBuffer : public Object {
5218
5218
allocation_length_(0 ),
5219
5219
allocation_mode_(Allocator::AllocationMode::kNormal ),
5220
5220
deleter_(nullptr ),
5221
- deleter_data_(nullptr ) {}
5221
+ deleter_data_(nullptr ),
5222
+ is_growable_(false ) {}
5222
5223
5223
5224
void * AllocationBase () const { return allocation_base_; }
5224
5225
size_t AllocationLength () const { return allocation_length_; }
@@ -5230,12 +5231,13 @@ class V8_EXPORT SharedArrayBuffer : public Object {
5230
5231
size_t ByteLength () const { return byte_length_; }
5231
5232
DeleterCallback Deleter () const { return deleter_; }
5232
5233
void * DeleterData () const { return deleter_data_; }
5234
+ bool IsGrowable () const { return is_growable_; }
5233
5235
5234
5236
private:
5235
5237
Contents (void * data, size_t byte_length, void * allocation_base,
5236
5238
size_t allocation_length,
5237
5239
Allocator::AllocationMode allocation_mode, DeleterCallback deleter,
5238
- void * deleter_data);
5240
+ void * deleter_data, bool is_growable );
5239
5241
5240
5242
void * data_;
5241
5243
size_t byte_length_;
@@ -5244,6 +5246,7 @@ class V8_EXPORT SharedArrayBuffer : public Object {
5244
5246
Allocator::AllocationMode allocation_mode_;
5245
5247
DeleterCallback deleter_;
5246
5248
void * deleter_data_;
5249
+ bool is_growable_;
5247
5250
5248
5251
friend class SharedArrayBuffer ;
5249
5252
};
@@ -6900,8 +6903,7 @@ class V8_EXPORT MicrotaskQueue {
6900
6903
/* *
6901
6904
* Creates an empty MicrotaskQueue instance.
6902
6905
*/
6903
- static std::unique_ptr<MicrotaskQueue> New (
6904
- Isolate* isolate, MicrotasksPolicy policy = MicrotasksPolicy::kAuto );
6906
+ static std::unique_ptr<MicrotaskQueue> New (Isolate* isolate);
6905
6907
6906
6908
virtual ~MicrotaskQueue () = default ;
6907
6909
@@ -6949,15 +6951,6 @@ class V8_EXPORT MicrotaskQueue {
6949
6951
*/
6950
6952
virtual bool IsRunningMicrotasks () const = 0;
6951
6953
6952
- /* *
6953
- * Returns the current depth of nested MicrotasksScope that has
6954
- * kRunMicrotasks.
6955
- */
6956
- virtual int GetMicrotasksScopeDepth () const = 0;
6957
-
6958
- MicrotaskQueue (const MicrotaskQueue&) = delete ;
6959
- MicrotaskQueue& operator =(const MicrotaskQueue&) = delete ;
6960
-
6961
6954
private:
6962
6955
friend class internal ::MicrotaskQueue;
6963
6956
MicrotaskQueue () = default ;
0 commit comments