diff --git a/components/gfx/display_list/mod.rs b/components/gfx/display_list/mod.rs index 592ac61cd2e..e7d24843f25 100644 --- a/components/gfx/display_list/mod.rs +++ b/components/gfx/display_list/mod.rs @@ -27,13 +27,11 @@ use net_traits::image::base::Image; use paint_context::PaintContext; use paint_thread::{PaintLayerContents, PaintLayer}; use self::DisplayItem::*; -use self::DisplayItemIterator::*; use smallvec::SmallVec; use std::cmp::Ordering; use std::collections::linked_list::{self, LinkedList}; use std::fmt; use std::mem; -use std::slice::Iter; use std::sync::Arc; use style::computed_values::{border_style, cursor, filter, image_rendering, mix_blend_mode}; use style::computed_values::{pointer_events}; diff --git a/components/gfx/font_cache_thread.rs b/components/gfx/font_cache_thread.rs index 96e6bd98c58..6a2b5b4a033 100644 --- a/components/gfx/font_cache_thread.rs +++ b/components/gfx/font_cache_thread.rs @@ -16,7 +16,6 @@ use platform::font_template::FontTemplateData; use std::borrow::ToOwned; use std::collections::HashMap; use std::mem; -use std::sync::mpsc::channel; use std::sync::{Arc, Mutex}; use string_cache::Atom; use style::font_face::Source; diff --git a/components/gfx/paint_thread.rs b/components/gfx/paint_thread.rs index 12187a527cc..212ca28eec1 100644 --- a/components/gfx/paint_thread.rs +++ b/components/gfx/paint_thread.rs @@ -23,7 +23,7 @@ use layers::platform::surface::{NativeDisplay, NativeSurface}; use msg::constellation_msg::{ConstellationChan, Failure, PipelineId}; use paint_context::PaintContext; use profile_traits::mem::{self, ReportsChan}; -use profile_traits::time::{self, profile}; +use profile_traits::time; use rand::{self, Rng}; use skia::gl_context::GLContext; use std::borrow::ToOwned;