diff options
Diffstat (limited to 'src/components/msg/constellation_msg.rs')
-rw-r--r-- | src/components/msg/constellation_msg.rs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/components/msg/constellation_msg.rs b/src/components/msg/constellation_msg.rs index d24619fd9af..5c91b329379 100644 --- a/src/components/msg/constellation_msg.rs +++ b/src/components/msg/constellation_msg.rs @@ -5,11 +5,10 @@ //! The high-level interface from script to constellation. Using this abstract interface helps reduce /// coupling between these two components -use std::comm::{Chan, SharedChan}; use extra::url::Url; -use extra::future::Future; -use geom::size::Size2D; use geom::rect::Rect; +use geom::size::Size2D; +use std::comm::{Chan, SharedChan}; #[deriving(Clone)] pub struct ConstellationChan(SharedChan<Msg>); @@ -32,8 +31,8 @@ pub enum Msg { FailureMsg(PipelineId, Option<SubpageId>), InitLoadUrlMsg(Url), FrameRectMsg(PipelineId, SubpageId, Rect<f32>), - LoadUrlMsg(PipelineId, Url, Future<Size2D<uint>>), - LoadIframeUrlMsg(Url, PipelineId, SubpageId, Future<Size2D<uint>>, IFrameSandboxState), + LoadUrlMsg(PipelineId, Url), + LoadIframeUrlMsg(Url, PipelineId, SubpageId, IFrameSandboxState), NavigateMsg(NavigationDirection), RendererReadyMsg(PipelineId), ResizedWindowMsg(Size2D<uint>), |