aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/layout_interface.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/layout_interface.rs')
-rw-r--r--src/components/script/layout_interface.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/components/script/layout_interface.rs b/src/components/script/layout_interface.rs
index 766c728067b..9c9f27328c6 100644
--- a/src/components/script/layout_interface.rs
+++ b/src/components/script/layout_interface.rs
@@ -7,8 +7,7 @@
/// from layout.
use dom::node::{AbstractNode, ScriptView, LayoutView};
-use script_task::{ScriptMsg, ScriptChan};
-
+use script_task::{ScriptChan};
use std::comm::{Chan, SharedChan};
use geom::rect::Rect;
use geom::size::Size2D;
@@ -32,9 +31,6 @@ pub enum Msg {
/// FIXME(pcwalton): As noted below, this isn't very type safe.
QueryMsg(LayoutQuery),
- /// Routes a message (usually from the compositor) to the appropriate script task
- RouteScriptMsg(ScriptMsg),
-
/// Requests that the layout task shut down and exit.
ExitMsg,
}