aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/timers.rs
diff options
context:
space:
mode:
authorJohann Tuffe <tafia973@gmail.com>2015-08-20 20:47:12 +0800
committerJohann Tuffe <tafia973@gmail.com>2015-08-20 20:47:12 +0800
commitec07178b6fc5a0ab559eb191952101cf92b5d666 (patch)
treef7550ec6d7623b57b29d3030686f4fdb609f0b36 /components/script/timers.rs
parentd3c7e31722fb194f1a266eec9ae57d2f2557e7a6 (diff)
downloadservo-ec07178b6fc5a0ab559eb191952101cf92b5d666.tar.gz
servo-ec07178b6fc5a0ab559eb191952101cf92b5d666.zip
sort all uses
Diffstat (limited to 'components/script/timers.rs')
-rw-r--r--components/script/timers.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/components/script/timers.rs b/components/script/timers.rs
index 8cc317f83ac..f18b2231417 100644
--- a/components/script/timers.rs
+++ b/components/script/timers.rs
@@ -2,19 +2,19 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-use dom::bindings::cell::DOMRefCell;
use dom::bindings::callback::ExceptionHandling::Report;
+use dom::bindings::cell::DOMRefCell;
use dom::bindings::codegen::Bindings::FunctionBinding::Function;
use dom::bindings::global::global_object_for_js_object;
use dom::bindings::utils::Reflectable;
use dom::window::ScriptHelpers;
-use script_task::{ScriptChan, TimerSource, CommonScriptMsg};
use horribly_inefficient_timers;
+use script_task::{ScriptChan, TimerSource, CommonScriptMsg};
use util::mem::HeapSizeOf;
-use util::task::spawn_named;
use util::str::DOMString;
+use util::task::spawn_named;
use js::jsapi::{RootedValue, HandleValue, Heap};
use js::jsval::{JSVal, UndefinedValue};
@@ -23,11 +23,11 @@ use std::borrow::ToOwned;
use std::cell::Cell;
use std::cmp;
use std::collections::HashMap;
-use std::sync::mpsc::{channel, Sender};
-use std::sync::mpsc::Select;
+use std::default::Default;
use std::hash::{Hash, Hasher};
use std::rc::Rc;
-use std::default::Default;
+use std::sync::mpsc::Select;
+use std::sync::mpsc::{channel, Sender};
#[derive(JSTraceable, PartialEq, Eq, Copy, Clone, HeapSizeOf)]
pub struct TimerId(i32);