Make prepare_workerscope_init take a &GlobalScope

This commit is contained in:
Anthony Ramine 2016-10-03 18:47:58 +02:00
parent 9a48ebb245
commit 83feb7dee3
3 changed files with 11 additions and 20 deletions

View file

@ -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,