Split fn script_chan into 5 different task channel fn

This commit is contained in:
Keith Yeung 2015-12-05 14:17:22 -08:00
parent 368dd1dc53
commit 8d90034d29
11 changed files with 98 additions and 39 deletions

View file

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