mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Issue #9561 Renamed *_thread_source to *_task_source and ThreadSource to TaskSource
This commit is contained in:
parent
3f74c07e20
commit
076cc409e6
8 changed files with 96 additions and 96 deletions
|
@ -110,9 +110,9 @@ impl HTMLImageElement {
|
|||
let img_url = img_url.unwrap();
|
||||
*self.url.borrow_mut() = Some(img_url.clone());
|
||||
|
||||
let trusted_node = Trusted::new(self, window.networking_thread_source());
|
||||
let trusted_node = Trusted::new(self, window.networking_task_source());
|
||||
let (responder_sender, responder_receiver) = ipc::channel().unwrap();
|
||||
let script_chan = window.networking_thread_source();
|
||||
let script_chan = window.networking_task_source();
|
||||
let wrapper = window.get_runnable_wrapper();
|
||||
ROUTER.add_route(responder_receiver.to_opaque(), box move |message| {
|
||||
// Return the image via a message to the script thread, which marks the element
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue