Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1795)

Unified Diff: content/worker/worker_thread.cc

Issue 115713004: Move the worker script loading code to the worker process (phase:2/5) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/worker/worker_thread.cc
diff --git a/content/worker/worker_thread.cc b/content/worker/worker_thread.cc
index 54764d0229ce8bc6253ff53cd20ab19d5e411f73..456457c4e780e6bb350d53946818d029557f7195 100644
--- a/content/worker/worker_thread.cc
+++ b/content/worker/worker_thread.cc
@@ -121,7 +121,13 @@ void WorkerThread::OnCreateWorker(
params.shared_worker_appcache_id);
// WebSharedWorkerStub own themselves.
- new WebSharedWorkerStub(params.name, params.route_id, appcache_init_info);
+ new WebSharedWorkerStub(
+ params.url,
+ params.name,
+ params.content_security_policy,
+ params.security_policy_type,
+ params.route_id,
+ appcache_init_info);
}
// The browser process is likely dead. Terminate all workers.

Powered by Google App Engine
This is Rietveld 408576698