Index: third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp |
diff --git a/third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp b/third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp |
index 1da848b7ada3299d60be9533e1d895b881dc7515..779c340141626a5338f1248625e9005a91775849 100644 |
--- a/third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp |
+++ b/third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp |
@@ -118,6 +118,9 @@ class InProcessWorkerMessagingProxyForTest |
CSPHeaderAndType header_and_type("contentSecurityPolicy", |
kContentSecurityPolicyHeaderTypeReport); |
headers->push_back(header_and_type); |
+ WorkerV8Settings worker_v8_settings = WorkerV8Settings::Default(); |
+ worker_v8_settings.atomics_wait_mode_ = |
+ WorkerV8Settings::AtomicsWaitMode::kAllow; |
GetWorkerThread()->Start( |
WorkerThreadStartupData::Create( |
script_url, "fake user agent", source, nullptr /* cachedMetaData */, |
@@ -125,7 +128,7 @@ class InProcessWorkerMessagingProxyForTest |
"" /* referrerPolicy */, security_origin_.Get(), |
nullptr /* workerClients */, kWebAddressSpaceLocal, |
nullptr /* originTrialTokens */, nullptr /* workerSettings */, |
- WorkerV8Settings::Default()), |
+ worker_v8_settings), |
GetParentFrameTaskRunners()); |
GetWorkerInspectorProxy()->WorkerThreadCreated( |