mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Store a Sender<ConstellationControlMsg> in ScriptReflow.
This commit is contained in:
parent
41ac66112a
commit
4f9ec8915d
3 changed files with 5 additions and 6 deletions
|
@ -19,7 +19,7 @@ use msg::compositor_msg::Epoch;
|
|||
use net_traits::image_cache_task::ImageCacheTask;
|
||||
use net_traits::PendingAsyncLoad;
|
||||
use profile_traits::mem::ReportsChan;
|
||||
use script_traits::{ConstellationControlMsg, LayoutControlMsg, ScriptControlChan};
|
||||
use script_traits::{ConstellationControlMsg, LayoutControlMsg};
|
||||
use script_traits::{OpaqueScriptLayoutChannel, StylesheetLoadResponder, UntrustedNodeAddress};
|
||||
use selectors::parser::PseudoElement;
|
||||
use std::any::Any;
|
||||
|
@ -167,7 +167,7 @@ pub struct ScriptReflow {
|
|||
/// The document node.
|
||||
pub document_root: TrustedNodeAddress,
|
||||
/// The channel through which messages can be sent back to the script task.
|
||||
pub script_chan: ScriptControlChan,
|
||||
pub script_chan: Sender<ConstellationControlMsg>,
|
||||
/// The current window size.
|
||||
pub window_size: WindowSizeData,
|
||||
/// The channel that we send a notification to.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue