aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/image_cache_task.rs
diff options
context:
space:
mode:
authorJohann Tuffe <tafia973@gmail.com>2015-08-20 20:47:12 +0800
committerJohann Tuffe <tafia973@gmail.com>2015-08-20 20:47:12 +0800
commitec07178b6fc5a0ab559eb191952101cf92b5d666 (patch)
treef7550ec6d7623b57b29d3030686f4fdb609f0b36 /components/net/image_cache_task.rs
parentd3c7e31722fb194f1a266eec9ae57d2f2557e7a6 (diff)
downloadservo-ec07178b6fc5a0ab559eb191952101cf92b5d666.tar.gz
servo-ec07178b6fc5a0ab559eb191952101cf92b5d666.zip
sort all uses
Diffstat (limited to 'components/net/image_cache_task.rs')
-rw-r--r--components/net/image_cache_task.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/net/image_cache_task.rs b/components/net/image_cache_task.rs
index f0d97ba827b..0e371f3e688 100644
--- a/components/net/image_cache_task.rs
+++ b/components/net/image_cache_task.rs
@@ -5,21 +5,21 @@
use ipc_channel::ipc::{self, IpcSender};
use ipc_channel::router::ROUTER;
use net_traits::image::base::{Image, load_from_memory};
-use net_traits::image_cache_task::{ImageState, ImageCacheTask, ImageCacheChan, ImageCacheCommand};
+use net_traits::image_cache_task::ImageResponder;
use net_traits::image_cache_task::{ImageCacheResult, ImageResponse, UsePlaceholder};
+use net_traits::image_cache_task::{ImageState, ImageCacheTask, ImageCacheChan, ImageCacheCommand};
use net_traits::load_whole_resource;
+use net_traits::{AsyncResponseTarget, ControlMsg, LoadData, ResponseAction, ResourceTask, LoadConsumer};
use std::borrow::ToOwned;
use std::collections::HashMap;
use std::collections::hash_map::Entry::{Occupied, Vacant};
use std::mem;
use std::sync::Arc;
use std::sync::mpsc::{channel, Sender, Receiver, Select};
+use url::Url;
use util::resource_files::resources_dir_path;
use util::task::spawn_named;
use util::taskpool::TaskPool;
-use url::Url;
-use net_traits::{AsyncResponseTarget, ControlMsg, LoadData, ResponseAction, ResourceTask, LoadConsumer};
-use net_traits::image_cache_task::ImageResponder;
///
/// TODO(gw): Remaining work on image cache: