mirror of
https://github.com/servo/servo.git
synced 2025-06-20 07:08:59 +01:00
Auto merge of #9348 - therealkbhat:script-cleanup, r=Wafflespeanut
Remove unused imports in script Fixes #9345. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9348) <!-- Reviewable:end -->
This commit is contained in:
commit
7f16b4e47b
6 changed files with 0 additions and 6 deletions
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue