mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
script: Make the resource task communication use IPC channels.
This commit is contained in:
parent
44d13f7fd4
commit
2aa5174246
35 changed files with 234 additions and 458 deletions
|
@ -181,7 +181,7 @@ impl DedicatedWorkerGlobalScope {
|
|||
let serialized_url = url.serialize();
|
||||
let parent_sender_for_reporter = parent_sender.clone();
|
||||
let global = DedicatedWorkerGlobalScope::new(
|
||||
url.0, id, mem_profiler_chan.clone(), devtools_chan, runtime.clone(),
|
||||
url, id, mem_profiler_chan.clone(), devtools_chan, runtime.clone(),
|
||||
resource_task, constellation_chan, parent_sender, own_sender, receiver);
|
||||
// FIXME(njn): workers currently don't have a unique ID suitable for using in reporter
|
||||
// registration (#6631), so we instead use a random number and cross our fingers.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue