mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Remove the unsafe impl Send for ConstellationControlMsg.
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:
parent
02be76bd48
commit
eefb0773a0
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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue