Index: third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
index 5a61b752a8f78409d2159e0dc5eec0a9dd55d0b9..a0dfed0f2153565a932891ed32ea26c1f5f78034 100644 |
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
@@ -319,6 +319,11 @@ void WorkerGlobalScope::applyContentSecurityPolicyFromVector(const Vector<CSPHea |
contentSecurityPolicy()->bindToExecutionContext(getExecutionContext()); |
} |
+void WorkerGlobalScope::setWorkerSettings(std::unique_ptr<WorkerSettings> workerSettings) |
+{ |
+ m_workerSettings = std::move(workerSettings); |
+} |
+ |
void WorkerGlobalScope::addMessageToWorkerConsole(ConsoleMessage* consoleMessage) |
{ |
DCHECK(isContextThread()); |