aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing/headless.rs
diff options
context:
space:
mode:
authorKeith Yeung <kungfukeith11@gmail.com>2015-11-14 16:01:34 -0800
committerKeith Yeung <kungfukeith11@gmail.com>2015-11-16 23:10:53 -0800
commit19294db6e5ffc9e85b4b628ef8dc6c72636c70a7 (patch)
tree60c26784064e9fecc12f8bd7b44686ceb7b8472a /components/compositing/headless.rs
parentafe03870ce1a5a65b4c22f2e64155259da8b4609 (diff)
downloadservo-19294db6e5ffc9e85b4b628ef8dc6c72636c70a7.tar.gz
servo-19294db6e5ffc9e85b4b628ef8dc6c72636c70a7.zip
Split ConstellationMsg into ScriptMsg and CompositorMsg
Diffstat (limited to 'components/compositing/headless.rs')
-rw-r--r--components/compositing/headless.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/compositing/headless.rs b/components/compositing/headless.rs
index 1db4d7b7ad5..52435af0cd7 100644
--- a/components/compositing/headless.rs
+++ b/components/compositing/headless.rs
@@ -7,7 +7,7 @@ use compositor_task::{InitialCompositorState, Msg};
use euclid::scale_factor::ScaleFactor;
use euclid::{Point2D, Size2D};
use msg::constellation_msg::AnimationState;
-use msg::constellation_msg::Msg as ConstellationMsg;
+use msg::constellation_msg::CompositorMsg as ConstellationMsg;
use msg::constellation_msg::{ConstellationChan, WindowSizeData};
use profile_traits::mem;
use profile_traits::time;
@@ -22,7 +22,7 @@ pub struct NullCompositor {
/// The port on which we receive messages.
pub port: Box<CompositorReceiver>,
/// A channel to the constellation.
- constellation_chan: ConstellationChan,
+ constellation_chan: ConstellationChan<ConstellationMsg>,
/// A channel to the time profiler.
time_profiler_chan: time::ProfilerChan,
/// A channel to the memory profiler.