mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
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:
commit
74f8c0eeb7
4 changed files with 3 additions and 6 deletions
|
@ -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
components/servo/Cargo.lock
generated
2
components/servo/Cargo.lock
generated
|
@ -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)",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue