Remove unused fields from ScriptReflow.

This commit is contained in:
Ms2ger 2015-10-28 11:54:44 +01:00
parent 521a87180a
commit 40b3b749bf
2 changed files with 0 additions and 6 deletions

View file

@ -917,9 +917,7 @@ impl Window {
},
document: self.Document().r().upcast::<Node>().to_trusted_node_address(),
window_size: window_size,
script_chan: self.control_chan.clone(),
script_join_chan: join_chan,
id: last_reflow_id.get(),
query_type: query_type,
};

View file

@ -175,14 +175,10 @@ pub struct ScriptReflow {
pub reflow_info: Reflow,
/// The document node.
pub document: TrustedNodeAddress,
/// The channel through which messages can be sent back to the script task.
pub script_chan: Sender<ConstellationControlMsg>,
/// The current window size.
pub window_size: WindowSizeData,
/// The channel that we send a notification to.
pub script_join_chan: Sender<()>,
/// Unique identifier
pub id: u32,
/// The type of query if any to perform during this reflow.
pub query_type: ReflowQueryType,
}