Undo changes done to change worker_id type to string

This commit is contained in:
Kunal Mohan 2019-12-10 13:09:45 +05:30
parent d5475fbc9f
commit d60f7d87c8
No known key found for this signature in database
GPG key ID: 2B475A4524237BAC
2 changed files with 2 additions and 3 deletions

View file

@ -98,9 +98,8 @@ impl ServiceWorkerManager {
title: title,
url: scope_things.script_url.clone(),
};
let worker_id = scope_things.worker_id.clone();
let _ = chan.send(ScriptToDevtoolsControlMsg::NewGlobal(
(scope_things.init.pipeline_id, Some(worker_id)),
(scope_things.init.pipeline_id, Some(scope_things.worker_id)),
devtools_sender,
page_info,
));