aboutsummaryrefslogtreecommitdiffstats
path: root/src/servo/layout/layout_task.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2013-02-24 20:56:11 -0500
committerJosh Matthews <josh@joshmatthews.net>2013-02-24 20:56:11 -0500
commitce514f2785d5f1762afaa4a3961d56c71d149940 (patch)
treeb0004ee928def140d2e33e1b7325a46be22579d3 /src/servo/layout/layout_task.rs
parent1c3db7cf4457adb7ae29f1c44c60ae1188453fa4 (diff)
downloadservo-ce514f2785d5f1762afaa4a3961d56c71d149940.tar.gz
servo-ce514f2785d5f1762afaa4a3961d56c71d149940.zip
Language changes.
Diffstat (limited to 'src/servo/layout/layout_task.rs')
-rw-r--r--src/servo/layout/layout_task.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/servo/layout/layout_task.rs b/src/servo/layout/layout_task.rs
index 762981f9ab2..699399f8b6b 100644
--- a/src/servo/layout/layout_task.rs
+++ b/src/servo/layout/layout_task.rs
@@ -18,7 +18,7 @@ use resource::local_image_cache::LocalImageCache;
use util::task::spawn_listener;
use util::time::time;
-use core::pipes::{Chan, Port, SharedChan};
+use core::comm::{Chan, Port, SharedChan};
use core::dvec::DVec;
use core::mutable::Mut;
use core::task::*;
@@ -79,9 +79,9 @@ impl Damage {
pub struct BuildData {
node: Node,
url: Url,
- dom_event_chan: pipes::SharedChan<Event>,
+ dom_event_chan: comm::SharedChan<Event>,
window_size: Size2D<uint>,
- content_join_chan: pipes::Chan<()>,
+ content_join_chan: comm::Chan<()>,
damage: Damage,
}
@@ -295,7 +295,7 @@ impl Layout {
// to the content task, and ultimately cause the image to be
// re-requested. We probably don't need to go all the way back to
// the content task for this.
- fn make_on_image_available_cb(dom_event_chan: pipes::SharedChan<Event>) -> @fn() -> ~fn(ImageResponseMsg) {
+ fn make_on_image_available_cb(dom_event_chan: comm::SharedChan<Event>) -> @fn() -> ~fn(ImageResponseMsg) {
// This has a crazy signature because the image cache needs to
// make multiple copies of the callback, and the dom event
// channel is not a copyable type, so this is actually a