mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Split fn script_chan into 5 different task channel fn
This commit is contained in:
parent
368dd1dc53
commit
8d90034d29
11 changed files with 98 additions and 39 deletions
|
@ -197,7 +197,7 @@ impl HTMLLinkElement {
|
|||
|
||||
// TODO: #8085 - Don't load external stylesheets if the node's mq doesn't match.
|
||||
let doc = window.Document();
|
||||
let script_chan = window.script_chan();
|
||||
let script_chan = window.networking_task_source();
|
||||
let elem = Trusted::new(window.get_cx(), self, script_chan.clone());
|
||||
|
||||
let context = Arc::new(Mutex::new(StylesheetContext {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue