diff --git a/components/script/dom/serviceworkerregistration.rs b/components/script/dom/serviceworkerregistration.rs index 6daec5d9647..f7c47b8ecec 100644 --- a/components/script/dom/serviceworkerregistration.rs +++ b/components/script/dom/serviceworkerregistration.rs @@ -60,7 +60,6 @@ impl ServiceWorkerRegistration { let init = prepare_workerscope_init(global, None); ScopeThings { script_url: script_url, - pipeline_id: global.pipeline_id(), init: init, worker_load_origin: worker_load_origin, devtools_chan: global.devtools_chan(), diff --git a/components/script/serviceworker_manager.rs b/components/script/serviceworker_manager.rs index 3ce26a7693e..3920b0cd62b 100644 --- a/components/script/serviceworker_manager.rs +++ b/components/script/serviceworker_manager.rs @@ -87,7 +87,7 @@ impl ServiceWorkerManager { title: title, url: scope_things.script_url.clone(), }; - let _ = chan.send(ScriptToDevtoolsControlMsg::NewGlobal((scope_things.pipeline_id, + let _ = chan.send(ScriptToDevtoolsControlMsg::NewGlobal((scope_things.init.pipeline_id, Some(scope_things.worker_id)), devtools_sender, page_info)); diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs index c3c777bb9f7..52f5fdd1188 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -151,8 +151,6 @@ pub enum ScriptMsg { pub struct ScopeThings { /// script resource url pub script_url: Url, - /// pipeline which requested the activation - pub pipeline_id: PipelineId, /// network load origin of the resource pub worker_load_origin: WorkerScriptLoadOrigin, /// base resources required to create worker global scopes