mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -155,7 +155,7 @@ impl Storage {
|
|||
let global_root = self.global.root();
|
||||
let global_ref = global_root.r();
|
||||
let main_script_chan = global_ref.as_window().main_thread_script_chan();
|
||||
let script_chan = global_ref.script_chan();
|
||||
let script_chan = global_ref.dom_manipulation_task_source();
|
||||
let trusted_storage = Trusted::new(global_ref.get_cx(), self,
|
||||
script_chan.clone());
|
||||
main_script_chan.send(MainThreadScriptMsg::MainThreadRunnableMsg(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue