aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-01-04 19:01:13 +0100
committerMs2ger <ms2ger@gmail.com>2015-01-04 19:01:13 +0100
commit6e027cda2da957b92f139b79f3072a43832bb843 (patch)
tree1a089283a864e0c92bf7e1ffe533a363560d681a /components/layout
parent04eb923da9af9988780a5dcc610b56e219866a9d (diff)
downloadservo-6e027cda2da957b92f139b79f3072a43832bb843.tar.gz
servo-6e027cda2da957b92f139b79f3072a43832bb843.zip
Rename the ConstellationControlMsg variants.
Diffstat (limited to 'components/layout')
-rw-r--r--components/layout/layout_task.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs
index c9ca8a27a8d..70bab117358 100644
--- a/components/layout/layout_task.rs
+++ b/components/layout/layout_task.rs
@@ -40,7 +40,7 @@ use script::layout_interface::{ContentBoxesQuery, ContentBoxQuery};
use script::layout_interface::{HitTestResponse, LayoutChan, LayoutRPC};
use script::layout_interface::{MouseOverResponse, Msg, NoQuery};
use script::layout_interface::{Reflow, ReflowGoal, ScriptLayoutChan, TrustedNodeAddress};
-use script_traits::{SendEventMsg, ReflowEvent, ReflowCompleteMsg, OpaqueScriptLayoutChannel};
+use script_traits::{ConstellationControlMsg, ReflowEvent, OpaqueScriptLayoutChannel};
use script_traits::{ScriptControlChan, UntrustedNodeAddress};
use servo_msg::compositor_msg::Scrollable;
use servo_msg::constellation_msg::Msg as ConstellationMsg;
@@ -160,7 +160,7 @@ impl ImageResponder<UntrustedNodeAddress> for LayoutImageResponder {
debug!("Dirtying {:x}", node_address as uint);
let mut nodes = SmallVec1::new();
nodes.vec_push(node_address);
- drop(chan.send_opt(SendEventMsg(id.clone(), ReflowEvent(nodes))))
+ drop(chan.send_opt(ConstellationControlMsg::SendEvent(id.clone(), ReflowEvent(nodes))))
};
f
}
@@ -871,7 +871,7 @@ impl LayoutTask {
// either select or a filtered recv() that only looks for messages of a given type.
data.script_join_chan.send(());
let ScriptControlChan(ref chan) = data.script_chan;
- chan.send(ReflowCompleteMsg(self.id, data.id));
+ chan.send(ConstellationControlMsg::ReflowComplete(self.id, data.id));
}
unsafe fn dirty_all_nodes(node: &mut LayoutNode) {