aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_task.rs
diff options
context:
space:
mode:
authorTomas Cernaj <tomas@cernaj.de>2015-12-09 20:50:11 +0100
committerTomas Cernaj <tomas@cernaj.de>2015-12-09 20:50:11 +0100
commit5507be2653d085245b8bf33be976653ab2378751 (patch)
tree3d069fd126da21dfb4f7ab0455ff768254ed0a2f /components/script/script_task.rs
parent8ba470d79fadf8787eb139af9047b0b4a10fe25c (diff)
downloadservo-5507be2653d085245b8bf33be976653ab2378751.tar.gz
servo-5507be2653d085245b8bf33be976653ab2378751.zip
Move ScriptMsg from msg crate into script_traits
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r--components/script/script_task.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs
index f0ea6bd1354..1dcf707a735 100644
--- a/components/script/script_task.rs
+++ b/components/script/script_task.rs
@@ -62,7 +62,6 @@ use layout_interface::{self, LayoutChan, NewLayoutTaskInfo, ReflowGoal, ScriptLa
use libc;
use mem::heap_size_of_self_and_children;
use msg::compositor_msg::{EventResult, LayerId, ScriptToCompositorMsg};
-use msg::constellation_msg::ScriptMsg as ConstellationMsg;
use msg::constellation_msg::{ConstellationChan, LoadData};
use msg::constellation_msg::{MouseButton, MouseEventType, MozBrowserEvent, PipelineId};
use msg::constellation_msg::{PipelineNamespace};
@@ -81,8 +80,8 @@ use profile_traits::time::{self, ProfilerCategory, profile};
use script_traits::CompositorEvent::{KeyEvent, MouseButtonEvent, MouseMoveEvent, ResizeEvent};
use script_traits::CompositorEvent::{TouchEvent};
use script_traits::{CompositorEvent, ConstellationControlMsg, InitialScriptState, NewLayoutInfo};
-use script_traits::{OpaqueScriptLayoutChannel, ScriptState, ScriptTaskFactory};
-use script_traits::{TimerEvent, TimerEventRequest, TimerSource};
+use script_traits::{OpaqueScriptLayoutChannel, ScriptMsg as ConstellationMsg, ScriptState};
+use script_traits::{ScriptTaskFactory, TimerEvent, TimerEventRequest, TimerSource};
use script_traits::{TouchEventType, TouchId};
use std::any::Any;
use std::borrow::ToOwned;