mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
separate waking the event loop, from communicating with a compositor
This commit is contained in:
parent
eac4f407e2
commit
3a693c7a23
9 changed files with 103 additions and 108 deletions
|
@ -172,7 +172,7 @@ pub struct Constellation<Message, LTF, STF> {
|
|||
|
||||
/// A channel (the implementation of which is port-specific) for the
|
||||
/// constellation to send messages to the compositor thread.
|
||||
compositor_proxy: Box<CompositorProxy>,
|
||||
compositor_proxy: CompositorProxy,
|
||||
|
||||
/// Channels for the constellation to send messages to the public
|
||||
/// resource-related threads. There are two groups of resource
|
||||
|
@ -302,7 +302,7 @@ pub struct Constellation<Message, LTF, STF> {
|
|||
/// State needed to construct a constellation.
|
||||
pub struct InitialConstellationState {
|
||||
/// A channel through which messages can be sent to the compositor.
|
||||
pub compositor_proxy: Box<CompositorProxy + Send>,
|
||||
pub compositor_proxy: CompositorProxy,
|
||||
|
||||
/// A channel to the debugger, if applicable.
|
||||
pub debugger_chan: Option<debugger::Sender>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue