aboutsummaryrefslogtreecommitdiffstats
path: root/components/net_traits/image_cache.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/net_traits/image_cache.rs')
-rw-r--r--components/net_traits/image_cache.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/components/net_traits/image_cache.rs b/components/net_traits/image_cache.rs
index 570c06e302d..9c5ca0b1455 100644
--- a/components/net_traits/image_cache.rs
+++ b/components/net_traits/image_cache.rs
@@ -73,14 +73,6 @@ pub enum ImageResponse {
None,
}
-/// The current state of an image in the cache.
-#[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)]
-pub enum ImageState {
- Pending(PendingImageId),
- LoadError,
- NotRequested(PendingImageId),
-}
-
/// The unique id for an image that has previously been requested.
#[derive(Clone, Copy, Debug, Deserialize, Eq, Hash, MallocSizeOf, PartialEq, Serialize)]
pub struct PendingImageId(pub u64);