aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/layout_interface.rs
diff options
context:
space:
mode:
authorLars Bergstrom <lars@lars.com>2014-03-04 09:04:51 -0800
committerLars Bergstrom <lars@lars.com>2014-03-18 09:30:35 -0500
commitbbac8aa5c3d95e70151b824ca3443f0fb4d9b5a5 (patch)
tree757452132978525ff85933ba84c2c3034fe3083e /src/components/script/layout_interface.rs
parentcaf1ed94468da3c134cc8e8f4a1b934bb353dc19 (diff)
downloadservo-bbac8aa5c3d95e70151b824ca3443f0fb4d9b5a5.tar.gz
servo-bbac8aa5c3d95e70151b824ca3443f0fb4d9b5a5.zip
Rust upgrades
Diffstat (limited to 'src/components/script/layout_interface.rs')
-rw-r--r--src/components/script/layout_interface.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/script/layout_interface.rs b/src/components/script/layout_interface.rs
index 6ebea1809af..4ccf959f8ab 100644
--- a/src/components/script/layout_interface.rs
+++ b/src/components/script/layout_interface.rs
@@ -15,7 +15,7 @@ use geom::size::Size2D;
use script_task::{ScriptChan};
use servo_util::geometry::Au;
use std::cmp;
-use std::comm::{Chan, SharedChan};
+use std::comm::Chan;
use std::libc::c_void;
use style::Stylesheet;
@@ -132,11 +132,11 @@ pub struct Reflow {
/// Encapsulates a channel to the layout task.
#[deriving(Clone)]
-pub struct LayoutChan(SharedChan<Msg>);
+pub struct LayoutChan(Chan<Msg>);
impl LayoutChan {
pub fn new() -> (Port<Msg>, LayoutChan) {
- let (port, chan) = SharedChan::new();
+ let (port, chan) = Chan::new();
(port, LayoutChan(chan))
}
}