mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Remove unsafe Send implementation for GlutinCompositorProxy.
Send is now implemented for glutin::WindowProxy.
This commit is contained in:
parent
8caaf196e1
commit
4f623dead3
1 changed files with 0 additions and 3 deletions
|
@ -828,9 +828,6 @@ struct GlutinCompositorProxy {
|
||||||
window_proxy: Option<glutin::WindowProxy>,
|
window_proxy: Option<glutin::WindowProxy>,
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Should this be implemented here or upstream in glutin::WindowProxy?
|
|
||||||
unsafe impl Send for GlutinCompositorProxy {}
|
|
||||||
|
|
||||||
impl CompositorProxy for GlutinCompositorProxy {
|
impl CompositorProxy for GlutinCompositorProxy {
|
||||||
fn send(&self, msg: compositor_thread::Msg) {
|
fn send(&self, msg: compositor_thread::Msg) {
|
||||||
// Send a message and kick the OS event loop awake.
|
// Send a message and kick the OS event loop awake.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue