diff options
Diffstat (limited to 'components/script/layout_interface.rs')
-rw-r--r-- | components/script/layout_interface.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/layout_interface.rs b/components/script/layout_interface.rs index 2856930b073..80181c09cda 100644 --- a/components/script/layout_interface.rs +++ b/components/script/layout_interface.rs @@ -13,8 +13,8 @@ use geom::rect::Rect; use script_traits::{ScriptControlChan, OpaqueScriptLayoutChannel, UntrustedNodeAddress}; use servo_msg::constellation_msg::{PipelineExitType, WindowSizeData}; use servo_util::geometry::Au; -use std::any::{Any, AnyRefExt}; -use std::comm::{channel, Receiver, Sender}; +use std::any::Any; +use std::sync::mpsc::{channel, Receiver, Sender}; use std::boxed::BoxAny; use style::Stylesheet; use url::Url; @@ -77,7 +77,7 @@ pub struct HitTestResponse(pub UntrustedNodeAddress); pub struct MouseOverResponse(pub Vec<UntrustedNodeAddress>); /// Why we're doing reflow. -#[deriving(PartialEq, Show)] +#[derive(PartialEq, Show)] pub enum ReflowGoal { /// We're reflowing in order to send a display list to the screen. ForDisplay, @@ -117,7 +117,7 @@ pub struct Reflow { } /// Encapsulates a channel to the layout task. -#[deriving(Clone)] +#[derive(Clone)] pub struct LayoutChan(pub Sender<Msg>); impl LayoutChan { |