Qualify image_cache_task::Msg.

This commit is contained in:
Ms2ger 2015-01-04 11:56:55 +01:00
parent fb595d8202
commit b94140f55e
2 changed files with 2 additions and 2 deletions

View file

@ -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));
}
}
}

View file

@ -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));
}
}
_ => { }