diff options
Diffstat (limited to 'components/script/dom/bindings/refcounted.rs')
-rw-r--r-- | components/script/dom/bindings/refcounted.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/components/script/dom/bindings/refcounted.rs b/components/script/dom/bindings/refcounted.rs index a1adf059dba..755f8ec6076 100644 --- a/components/script/dom/bindings/refcounted.rs +++ b/components/script/dom/bindings/refcounted.rs @@ -22,15 +22,13 @@ //! is rooted when a hashmap entry is first created, and unrooted when the hashmap entry //! is removed. +use core::nonzero::NonZero; use dom::bindings::js::Root; use dom::bindings::trace::trace_reflector; use dom::bindings::utils::{Reflector, Reflectable}; -use script_task::{ScriptChan, CommonScriptMsg}; - use js::jsapi::{JSContext, JSTracer}; - -use core::nonzero::NonZero; use libc; +use script_task::{ScriptChan, CommonScriptMsg}; use std::cell::RefCell; use std::collections::hash_map::Entry::{Vacant, Occupied}; use std::collections::hash_map::HashMap; |