aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-12-17 23:53:32 +0100
committerGregory Terzian <gterzian@users.noreply.github.com>2018-09-12 13:33:32 +0800
commit2a996fbc8fef722b264389680cc55c25c46807d1 (patch)
tree22c19321899cf4b35384c8c8e186f1a0bf7913c8 /components/script_layout_interface
parentb977b4994c678ce1d9bca69be72d095522c25f71 (diff)
downloadservo-2a996fbc8fef722b264389680cc55c25c46807d1.tar.gz
servo-2a996fbc8fef722b264389680cc55c25c46807d1.zip
Replace mpsc with crossbeam/servo channel, update ipc-channel
Co-authored-by: Gregory Terzian <gterzian@users.noreply.github.com>
Diffstat (limited to 'components/script_layout_interface')
-rw-r--r--components/script_layout_interface/Cargo.toml3
-rw-r--r--components/script_layout_interface/lib.rs1
-rw-r--r--components/script_layout_interface/message.rs2
3 files changed, 4 insertions, 2 deletions
diff --git a/components/script_layout_interface/Cargo.toml b/components/script_layout_interface/Cargo.toml
index 0abb03ecc8a..820148f3b65 100644
--- a/components/script_layout_interface/Cargo.toml
+++ b/components/script_layout_interface/Cargo.toml
@@ -17,7 +17,7 @@ cssparser = "0.24"
euclid = "0.19"
gfx_traits = {path = "../gfx_traits"}
html5ever = "0.22"
-ipc-channel = "0.10"
+ipc-channel = "0.11"
libc = "0.2"
log = "0.4"
time = "0.1.17"
@@ -32,6 +32,7 @@ script_traits = {path = "../script_traits"}
selectors = { path = "../selectors" }
servo_arc = {path = "../servo_arc"}
servo_atoms = {path = "../atoms"}
+servo_channel = {path = "../channel"}
servo_url = {path = "../url"}
style = {path = "../style"}
webrender_api = {git = "https://github.com/servo/webrender", features = ["ipc"]}
diff --git a/components/script_layout_interface/lib.rs b/components/script_layout_interface/lib.rs
index 36c2c2a57ca..5d8f1612f0e 100644
--- a/components/script_layout_interface/lib.rs
+++ b/components/script_layout_interface/lib.rs
@@ -31,6 +31,7 @@ extern crate script_traits;
extern crate selectors;
extern crate servo_arc;
extern crate servo_atoms;
+extern crate servo_channel;
extern crate servo_url;
extern crate style;
extern crate webrender_api;
diff --git a/components/script_layout_interface/message.rs b/components/script_layout_interface/message.rs
index ac52d9373ce..95f30fbaf97 100644
--- a/components/script_layout_interface/message.rs
+++ b/components/script_layout_interface/message.rs
@@ -17,9 +17,9 @@ use script_traits::{ScrollState, UntrustedNodeAddress, WindowSizeData};
use script_traits::Painter;
use servo_arc::Arc as ServoArc;
use servo_atoms::Atom;
+use servo_channel::{Receiver, Sender};
use servo_url::ServoUrl;
use std::sync::Arc;
-use std::sync::mpsc::{Receiver, Sender};
use style::context::QuirksMode;
use style::properties::PropertyId;
use style::selector_parser::PseudoElement;