mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Make prepare_workerscope_init take a &GlobalScope
This commit is contained in:
parent
9a48ebb245
commit
83feb7dee3
3 changed files with 11 additions and 20 deletions
|
@ -60,7 +60,7 @@ impl ServiceWorkerRegistration {
|
|||
|
||||
let worker_id = global_scope.get_next_worker_id();
|
||||
let devtools_chan = global_scope.devtools_chan().cloned();
|
||||
let init = prepare_workerscope_init(global, None);
|
||||
let init = prepare_workerscope_init(global_scope, None);
|
||||
ScopeThings {
|
||||
script_url: script_url,
|
||||
init: init,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue