auto merge of #5502 : Ms2ger/servo/impl-send, r=jdm

This impl made it possible to put raw pointers in ConstellationControlMsg and
send them across threads without considering the consequences.

This required making SmallVec1<T> Send if T is Send.
This commit is contained in:
bors-servo 2015-04-03 09:48:42 -06:00
commit 74f8c0eeb7
4 changed files with 3 additions and 6 deletions

View file

@ -76,9 +76,6 @@ pub enum ConstellationControlMsg {
UpdateSubpageId(PipelineId, SubpageId, SubpageId),
}
unsafe impl Send for ConstellationControlMsg {
}
/// The mouse button involved in the event.
#[derive(Clone, Debug)]
pub enum MouseButton {

View file

@ -816,7 +816,7 @@ dependencies = [
[[package]]
name = "selectors"
version = "0.1.0"
source = "git+https://github.com/servo/rust-selectors#f3cffb2c37cf1a4dac06a02eb00a882626039a0c"
source = "git+https://github.com/servo/rust-selectors#12d3ce84a12ded4cf1def63651ccab06e1cfa80e"
dependencies = [
"bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"cssparser 0.2.0 (git+https://github.com/servo/rust-cssparser)",