servo: Merge #5502 - Remove the unsafe impl Send for ConstellationControlMsg (from Ms2ger: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.

Source-Repo: https://github.com/servo/servo
Source-Revision: 74f8c0eeb714fb7ca7964b36f1b82849e8a345ee
This commit is contained in:
Ms2ger 2015-04-03 09:48:42 -06:00
Родитель 54525fb6e1
Коммит ea571b116f
4 изменённых файлов: 3 добавлений и 6 удалений

Просмотреть файл

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

2
servo/components/servo/Cargo.lock сгенерированный
Просмотреть файл

@ -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)",

2
servo/ports/cef/Cargo.lock сгенерированный
Просмотреть файл

@ -822,7 +822,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)",

2
servo/ports/gonk/Cargo.lock сгенерированный
Просмотреть файл

@ -746,7 +746,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)",