mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Remove extraneous script_chan parameter from Trusted::new
This commit is contained in:
parent
fbc575407d
commit
33acb1937c
15 changed files with 38 additions and 62 deletions
|
@ -128,7 +128,7 @@ impl HTMLImageElement {
|
|||
let img_url = img_url.unwrap();
|
||||
self.current_request.borrow_mut().url = Some(img_url.clone());
|
||||
|
||||
let trusted_node = Trusted::new(self, window.networking_task_source());
|
||||
let trusted_node = Trusted::new(self);
|
||||
let (responder_sender, responder_receiver) = ipc::channel().unwrap();
|
||||
let script_chan = window.networking_task_source();
|
||||
let wrapper = window.get_runnable_wrapper();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue