diff --git a/src/components/net/image_cache_task.rs b/src/components/net/image_cache_task.rs index c09b9533f2b..63abfd62348 100644 --- a/src/components/net/image_cache_task.rs +++ b/src/components/net/image_cache_task.rs @@ -22,16 +22,9 @@ pub enum Msg { /// before Decode Prefetch(Url), - // FIXME: We can probably get rid of this Cell now - /// Used be the prefetch tasks to post back image binaries - priv StorePrefetchedImageData(Url, Result<~[u8], ()>), - /// Tell the cache to decode an image. Must be posted before GetImage/WaitForImage Decode(Url), - /// Used by the decoder tasks to post decoded images back to the cache - priv StoreImage(Url, Option>), - /// Request an Image object for a URL. If the image is not is not immediately /// available then ImageNotReady is returned. GetImage(Url, Sender), @@ -42,6 +35,13 @@ pub enum Msg { /// Clients must wait for a response before shutting down the ResourceTask Exit(Sender<()>), + // FIXME: We can probably get rid of this Cell now + /// Used be the prefetch tasks to post back image binaries + priv StorePrefetchedImageData(Url, Result<~[u8], ()>), + + /// Used by the decoder tasks to post decoded images back to the cache + priv StoreImage(Url, Option>), + /// For testing priv WaitForStore(Sender<()>),