mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Introduce GlobalScope::get_next_worker_id
This commit is contained in:
parent
38273fe7a8
commit
3e5c0c386c
6 changed files with 17 additions and 32 deletions
|
@ -57,7 +57,7 @@ impl ServiceWorkerRegistration {
|
|||
pipeline_id: Some(global.pipeline_id())
|
||||
};
|
||||
|
||||
let worker_id = global.get_next_worker_id();
|
||||
let worker_id = global.as_global_scope().get_next_worker_id();
|
||||
let init = prepare_workerscope_init(global, None);
|
||||
ScopeThings {
|
||||
script_url: script_url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue