mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
1. Add an Option<Pipeline_id> field to the LoadData struct, and a corresponding parameter to LoadData::new()
2. Change addEvent in the NetworkEventActor to add_request and add_response
This commit is contained in:
parent
6e91ebb1fe
commit
01eb31ae8a
18 changed files with 152 additions and 151 deletions
|
@ -306,7 +306,7 @@ impl ImageCache {
|
|||
pending_load.add_listener(image_listener);
|
||||
e.insert(pending_load);
|
||||
|
||||
let load_data = LoadData::new(url.clone());
|
||||
let load_data = LoadData::new(url.clone(), None);
|
||||
let listener = box ResourceListener {
|
||||
url: url,
|
||||
sender: self.progress_sender.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue