mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
Take WorkerGlobalScope's worker_id out of its Option.
Unsurprisingly, every worker has an id, so there is no need to wrap it in an Option.
This commit is contained in:
parent
1809748dc1
commit
bd04cecceb
4 changed files with 8 additions and 8 deletions
|
@ -98,7 +98,7 @@ impl Worker {
|
|||
DedicatedWorkerGlobalScope::run_worker_scope(
|
||||
worker_url, global.pipeline(), global.mem_profiler_chan(), global.devtools_chan(),
|
||||
optional_sender, devtools_receiver, worker_ref, resource_task,
|
||||
constellation_chan, global.script_chan(), sender, receiver, Some(worker_id));
|
||||
constellation_chan, global.script_chan(), sender, receiver, worker_id);
|
||||
|
||||
Ok(worker)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue