mirror of
https://github.com/servo/servo.git
synced 2025-07-30 02:30:21 +01:00
Qualify image_cache_task::Msg.
This commit is contained in:
parent
fb595d8202
commit
b94140f55e
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ impl<'a> PrivateHTMLImageElementHelpers for JSRef<'a, HTMLImageElement> {
|
|||
|
||||
// inform the image cache to load this, but don't store a
|
||||
// handle.
|
||||
image_cache.send(image_cache_task::Prefetch(img_url));
|
||||
image_cache.send(image_cache_task::Msg::Prefetch(img_url));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ impl<'a> ProcessDataURL for JSRef<'a, HTMLObjectElement> {
|
|||
if is_image_data(uri.as_slice()) {
|
||||
let data_url = Url::parse(uri.as_slice()).unwrap();
|
||||
// Issue #84
|
||||
image_cache.send(image_cache_task::Prefetch(data_url));
|
||||
image_cache.send(image_cache_task::Msg::Prefetch(data_url));
|
||||
}
|
||||
}
|
||||
_ => { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue