Index: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
index 3bef971890c9843c3da973574048c931e8f53887..22c407438ef4e05f82f87dab5525d163671879d2 100644 |
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
@@ -417,6 +417,7 @@ void WebEmbeddedWorkerImpl::startWorkerThread() |
KURL scriptURL = m_mainScriptLoader->url(); |
WorkerThreadStartMode startMode = m_workerInspectorProxy->workerStartMode(document); |
+ std::unique_ptr<WorkerSettings> workerSettings = wrapUnique(new WorkerSettings(document->settings())); |
std::unique_ptr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create( |
scriptURL, |
@@ -430,6 +431,7 @@ void WebEmbeddedWorkerImpl::startWorkerThread() |
workerClients, |
m_mainScriptLoader->responseAddressSpace(), |
m_mainScriptLoader->originTrialTokens(), |
+ std::move(workerSettings), |
static_cast<V8CacheOptions>(m_workerStartData.v8CacheOptions)); |
m_mainScriptLoader.clear(); |