Remove unused imports in script

This commit is contained in:
Kishor Bhat 2016-01-17 12:41:28 +05:30
parent 5a954d2492
commit 1ca2073979
6 changed files with 0 additions and 6 deletions

View file

@ -6,7 +6,6 @@ use ipc_channel::ipc;
use msg::constellation_msg::ConstellationChan; use msg::constellation_msg::ConstellationChan;
use script_traits::ScriptMsg as ConstellationMsg; use script_traits::ScriptMsg as ConstellationMsg;
use std::borrow::ToOwned; use std::borrow::ToOwned;
use std::sync::mpsc::channel;
pub trait ClipboardProvider { pub trait ClipboardProvider {
// blocking method to get the clipboard contents // blocking method to get the clipboard contents

View file

@ -41,7 +41,6 @@ use num::{Float, ToPrimitive};
use script_traits::ScriptMsg as ConstellationMsg; use script_traits::ScriptMsg as ConstellationMsg;
use std::cell::Cell; use std::cell::Cell;
use std::str::FromStr; use std::str::FromStr;
use std::sync::mpsc::channel;
use std::{cmp, fmt}; use std::{cmp, fmt};
use unpremultiplytable::UNPREMULTIPLY_TABLE; use unpremultiplytable::UNPREMULTIPLY_TABLE;
use url::Url; use url::Url;

View file

@ -101,7 +101,6 @@ use std::iter::FromIterator;
use std::ptr; use std::ptr;
use std::rc::Rc; use std::rc::Rc;
use std::sync::Arc; use std::sync::Arc;
use std::sync::mpsc::channel;
use string_cache::{Atom, QualName}; use string_cache::{Atom, QualName};
use style::context::ReflowGoal; use style::context::ReflowGoal;
use style::restyle_hints::ElementSnapshot; use style::restyle_hints::ElementSnapshot;

View file

@ -15,7 +15,6 @@ use dom::event::Event;
use dom::uievent::UIEvent; use dom::uievent::UIEvent;
use dom::window::Window; use dom::window::Window;
use msg::constellation_msg; use msg::constellation_msg;
use msg::constellation_msg::{ALT, CONTROL, SHIFT, SUPER};
use msg::constellation_msg::{Key, KeyModifiers}; use msg::constellation_msg::{Key, KeyModifiers};
use std::cell::Cell; use std::cell::Cell;
use util::str::DOMString; use util::str::DOMString;

View file

@ -17,7 +17,6 @@ use ipc_channel::ipc;
use net_traits::storage_thread::{StorageThread, StorageThreadMsg, StorageType}; use net_traits::storage_thread::{StorageThread, StorageThreadMsg, StorageType};
use page::IterablePage; use page::IterablePage;
use script_thread::{MainThreadRunnable, MainThreadScriptMsg, ScriptThread}; use script_thread::{MainThreadRunnable, MainThreadScriptMsg, ScriptThread};
use std::sync::mpsc::channel;
use url::Url; use url::Url;
use util::str::DOMString; use util::str::DOMString;

View file

@ -35,7 +35,6 @@ use net_traits::image_cache_thread::ImageResponse;
use offscreen_gl_context::GLContextAttributes; use offscreen_gl_context::GLContextAttributes;
use script_traits::ScriptMsg as ConstellationMsg; use script_traits::ScriptMsg as ConstellationMsg;
use std::cell::Cell; use std::cell::Cell;
use std::sync::mpsc::channel;
use util::str::DOMString; use util::str::DOMString;
use util::vec::byte_swap; use util::vec::byte_swap;