mirror of
https://github.com/servo/servo.git
synced 2025-06-21 15:49:04 +01:00
parent
9bd0e2a3ac
commit
1c6de361b7
6 changed files with 70 additions and 15 deletions
|
@ -444,6 +444,7 @@ fn load_image_data(url: Url, resource_task: ResourceTask) -> Result<~[u8], ()> {
|
|||
|
||||
loop {
|
||||
match response_port.recv() {
|
||||
resource_task::UrlChange(*) => (), // don't care that URL changed
|
||||
resource_task::Payload(data) => {
|
||||
image_data.push_all(data);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue