mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
refactor(filemanager): use filemanagermsg to request embedder
This commit is contained in:
parent
52b9e4f0ab
commit
7cec47b3fa
4 changed files with 22 additions and 18 deletions
|
@ -523,7 +523,7 @@ fn create_constellation(user_agent: Cow<'static, str>,
|
|||
webgl_threads,
|
||||
webvr_chan,
|
||||
};
|
||||
let (constellation_chan, from_swmanager_sender) =
|
||||
let (constellation_chan, from_swmanager_sender, from_filemanager_sender) =
|
||||
Constellation::<script_layout_interface::message::Msg,
|
||||
layout_thread::LayoutThread,
|
||||
script::script_thread::ScriptThread>::start(initial_state);
|
||||
|
@ -533,7 +533,7 @@ fn create_constellation(user_agent: Cow<'static, str>,
|
|||
webvr_constellation_sender.send(constellation_chan.clone()).unwrap();
|
||||
}
|
||||
|
||||
resource_constellation_sender.send(constellation_chan.clone()).unwrap();
|
||||
resource_constellation_sender.send(from_filemanager_sender.clone()).unwrap();
|
||||
|
||||
// channels to communicate with Service Worker Manager
|
||||
let sw_senders = SWManagerSenders {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue