| Index: third_party/WebKit/Source/bindings/core/v8/WorkerV8Settings.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/WorkerV8Settings.h b/third_party/WebKit/Source/bindings/core/v8/WorkerV8Settings.h
|
| index 3730794119e29995f17a41fadb1aa40ff9e76ec4..a6b3a6616daa3ad39a91957ddb5f6fa75b3720c7 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/WorkerV8Settings.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/WorkerV8Settings.h
|
| @@ -13,15 +13,20 @@ namespace blink {
|
| // The V8 settings that are passed from the main isolate to the worker isolate.
|
| struct CORE_EXPORT WorkerV8Settings {
|
| enum class HeapLimitMode { kDefault, kIncreasedForDebugging };
|
| + enum class AtomicsWaitMode { kDisallow, kAllow };
|
| WorkerV8Settings(HeapLimitMode heap_limit_mode,
|
| - V8CacheOptions v8_cache_options)
|
| + V8CacheOptions v8_cache_options,
|
| + AtomicsWaitMode atomics_wait_mode)
|
| : heap_limit_mode_(heap_limit_mode),
|
| - v8_cache_options_(v8_cache_options) {}
|
| + v8_cache_options_(v8_cache_options),
|
| + atomics_wait_mode_(atomics_wait_mode) {}
|
| static WorkerV8Settings Default() {
|
| - return WorkerV8Settings(HeapLimitMode::kDefault, kV8CacheOptionsDefault);
|
| + return WorkerV8Settings(HeapLimitMode::kDefault, kV8CacheOptionsDefault,
|
| + AtomicsWaitMode::kDisallow);
|
| }
|
| HeapLimitMode heap_limit_mode_;
|
| V8CacheOptions v8_cache_options_;
|
| + AtomicsWaitMode atomics_wait_mode_;
|
| };
|
|
|
| } // namespace blink
|
|
|