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

Unified Diff: content/worker/worker_thread.cc

Issue 133093003: Move the worker script loading code to the worker process (phase:4/5) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@02ScriptLoadInWorkerChrome
Patch Set: change comments in worker_webapplicationcachehost_impl.h and rebase. Created 6 years, 11 months 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 d19701a544fc59a1377c2eea6943a973207f4642..8425c167abe93768481a910639869f47aa8bbdf4 100644
--- a/content/worker/worker_thread.cc
+++ b/content/worker/worker_thread.cc
@@ -117,18 +117,13 @@ bool WorkerThread::OnMessageReceived(const IPC::Message& msg) {
void WorkerThread::OnCreateWorker(
const WorkerProcessMsg_CreateWorker_Params& params) {
- WorkerAppCacheInitInfo appcache_init_info(
- params.creator_process_id,
- params.shared_worker_appcache_id);
-
// WebSharedWorkerStub own themselves.
new WebSharedWorkerStub(
params.url,
params.name,
params.content_security_policy,
params.security_policy_type,
- params.route_id,
- appcache_init_info);
+ params.route_id);
}
// The browser process is likely dead. Terminate all workers.

Powered by Google App Engine
This is Rietveld 408576698