Replace mpsc with crossbeam/servo channel, update ipc-channel

Co-authored-by: Gregory Terzian <gterzian@users.noreply.github.com>
This commit is contained in:
Simon Sapin 2017-12-17 23:53:32 +01:00 committed by Gregory Terzian
parent b977b4994c
commit 2a996fbc8f
89 changed files with 341 additions and 377 deletions

View file

@ -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"]}

View file

@ -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;

View file

@ -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;