diff options
Diffstat (limited to 'components/script')
-rw-r--r-- | components/script/Cargo.toml | 1 | ||||
-rw-r--r-- | components/script/layout_wrapper.rs | 2 | ||||
-rw-r--r-- | components/script/lib.rs | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/components/script/Cargo.toml b/components/script/Cargo.toml index 05af21f1dc1..01e4079ccde 100644 --- a/components/script/Cargo.toml +++ b/components/script/Cargo.toml @@ -24,6 +24,7 @@ tinyfiledialogs = {git = "https://github.com/jdm/tinyfiledialogs"} angle = {git = "https://github.com/servo/angle", branch = "servo"} app_units = "0.3" audio-video-metadata = "0.1.2" +atomic_refcell = "0.1" bitflags = "0.7" bluetooth_traits = {path = "../bluetooth_traits"} canvas_traits = {path = "../canvas_traits"} diff --git a/components/script/layout_wrapper.rs b/components/script/layout_wrapper.rs index 3e245ccdd35..25150d60dfe 100644 --- a/components/script/layout_wrapper.rs +++ b/components/script/layout_wrapper.rs @@ -30,6 +30,7 @@ #![allow(unsafe_code)] +use atomic_refcell::AtomicRefCell; use dom::bindings::inheritance::{CharacterDataTypeId, ElementTypeId}; use dom::bindings::inheritance::{HTMLElementTypeId, NodeTypeId}; use dom::bindings::js::LayoutJS; @@ -58,7 +59,6 @@ use std::marker::PhantomData; use std::mem::transmute; use std::sync::Arc; use std::sync::atomic::Ordering; -use style::atomic_refcell::AtomicRefCell; use style::attr::AttrValue; use style::computed_values::display; use style::context::{QuirksMode, SharedStyleContext}; diff --git a/components/script/lib.rs b/components/script/lib.rs index 52c0cd6f358..d47156b126f 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -28,6 +28,7 @@ extern crate angle; extern crate app_units; +extern crate atomic_refcell; extern crate audio_video_metadata; #[allow(unused_extern_crates)] #[macro_use] |