зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #9348 - Remove unused imports in script (from therealkbhat:script-cleanup); r=Wafflespeanut
Fixes #9345. Source-Repo: https://github.com/servo/servo Source-Revision: 7f16b4e47bf8aef035ea788d80172dfd1a11ecff
This commit is contained in:
Родитель
21afea8340
Коммит
79a9a23449
|
@ -6,7 +6,6 @@ use ipc_channel::ipc;
|
|||
use msg::constellation_msg::ConstellationChan;
|
||||
use script_traits::ScriptMsg as ConstellationMsg;
|
||||
use std::borrow::ToOwned;
|
||||
use std::sync::mpsc::channel;
|
||||
|
||||
pub trait ClipboardProvider {
|
||||
// blocking method to get the clipboard contents
|
||||
|
|
|
@ -41,7 +41,6 @@ use num::{Float, ToPrimitive};
|
|||
use script_traits::ScriptMsg as ConstellationMsg;
|
||||
use std::cell::Cell;
|
||||
use std::str::FromStr;
|
||||
use std::sync::mpsc::channel;
|
||||
use std::{cmp, fmt};
|
||||
use unpremultiplytable::UNPREMULTIPLY_TABLE;
|
||||
use url::Url;
|
||||
|
|
|
@ -101,7 +101,6 @@ use std::iter::FromIterator;
|
|||
use std::ptr;
|
||||
use std::rc::Rc;
|
||||
use std::sync::Arc;
|
||||
use std::sync::mpsc::channel;
|
||||
use string_cache::{Atom, QualName};
|
||||
use style::context::ReflowGoal;
|
||||
use style::restyle_hints::ElementSnapshot;
|
||||
|
|
|
@ -15,7 +15,6 @@ use dom::event::Event;
|
|||
use dom::uievent::UIEvent;
|
||||
use dom::window::Window;
|
||||
use msg::constellation_msg;
|
||||
use msg::constellation_msg::{ALT, CONTROL, SHIFT, SUPER};
|
||||
use msg::constellation_msg::{Key, KeyModifiers};
|
||||
use std::cell::Cell;
|
||||
use util::str::DOMString;
|
||||
|
|
|
@ -17,7 +17,6 @@ use ipc_channel::ipc;
|
|||
use net_traits::storage_thread::{StorageThread, StorageThreadMsg, StorageType};
|
||||
use page::IterablePage;
|
||||
use script_thread::{MainThreadRunnable, MainThreadScriptMsg, ScriptThread};
|
||||
use std::sync::mpsc::channel;
|
||||
use url::Url;
|
||||
use util::str::DOMString;
|
||||
|
||||
|
|
|
@ -35,7 +35,6 @@ use net_traits::image_cache_thread::ImageResponse;
|
|||
use offscreen_gl_context::GLContextAttributes;
|
||||
use script_traits::ScriptMsg as ConstellationMsg;
|
||||
use std::cell::Cell;
|
||||
use std::sync::mpsc::channel;
|
||||
use util::str::DOMString;
|
||||
use util::vec::byte_swap;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче