aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_task.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-01-04 11:27:44 +0100
committerMs2ger <ms2ger@gmail.com>2015-01-04 11:59:21 +0100
commitde0caf8761459e8d51a8250a12babb7e80b24649 (patch)
treeaf8d2ce0a4c0904ac4376ed49d615e04e00aa485 /components/layout/layout_task.rs
parentd5cc791d3109c67f3086ed282011b8ff6299cca3 (diff)
downloadservo-de0caf8761459e8d51a8250a12babb7e80b24649.tar.gz
servo-de0caf8761459e8d51a8250a12babb7e80b24649.zip
Rename constellation_msg::Msg variants.
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r--components/layout/layout_task.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs
index 3cb4b9d5e31..72865373f3f 100644
--- a/components/layout/layout_task.rs
+++ b/components/layout/layout_task.rs
@@ -43,8 +43,9 @@ use script::layout_interface::{Reflow, ReflowGoal, ScriptLayoutChan, TrustedNode
use script_traits::{SendEventMsg, ReflowEvent, ReflowCompleteMsg, OpaqueScriptLayoutChannel};
use script_traits::{ScriptControlChan, UntrustedNodeAddress};
use servo_msg::compositor_msg::Scrollable;
-use servo_msg::constellation_msg::{ConstellationChan, Failure, FailureMsg, PipelineExitType};
-use servo_msg::constellation_msg::{PipelineId, SetCursorMsg};
+use servo_msg::constellation_msg::Msg as ConstellationMsg;
+use servo_msg::constellation_msg::{ConstellationChan, Failure, PipelineExitType};
+use servo_msg::constellation_msg::PipelineId;
use servo_net::image_cache_task::{ImageCacheTask, ImageResponseMsg};
use servo_net::local_image_cache::{ImageResponder, LocalImageCache};
use servo_net::resource_task::{ResourceTask, load_bytes_iter};
@@ -200,7 +201,7 @@ impl LayoutTaskFactory for LayoutTask {
layout.start();
}
shutdown_chan.send(());
- }, FailureMsg(failure_msg), con_chan, false);
+ }, ConstellationMsg::Failure(failure_msg), con_chan, false);
}
}
@@ -999,7 +1000,7 @@ impl LayoutRPC for LayoutRPCImpl {
DefaultCursor
};
let ConstellationChan(ref constellation_chan) = rw_data.constellation_chan;
- constellation_chan.send(SetCursorMsg(cursor));
+ constellation_chan.send(ConstellationMsg::SetCursor(cursor));
}
if mouse_over_list.is_empty() {