mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove unused fields from ScriptReflow.
This commit is contained in:
parent
521a87180a
commit
40b3b749bf
2 changed files with 0 additions and 6 deletions
|
@ -917,9 +917,7 @@ impl Window {
|
||||||
},
|
},
|
||||||
document: self.Document().r().upcast::<Node>().to_trusted_node_address(),
|
document: self.Document().r().upcast::<Node>().to_trusted_node_address(),
|
||||||
window_size: window_size,
|
window_size: window_size,
|
||||||
script_chan: self.control_chan.clone(),
|
|
||||||
script_join_chan: join_chan,
|
script_join_chan: join_chan,
|
||||||
id: last_reflow_id.get(),
|
|
||||||
query_type: query_type,
|
query_type: query_type,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -175,14 +175,10 @@ pub struct ScriptReflow {
|
||||||
pub reflow_info: Reflow,
|
pub reflow_info: Reflow,
|
||||||
/// The document node.
|
/// The document node.
|
||||||
pub document: TrustedNodeAddress,
|
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.
|
/// The current window size.
|
||||||
pub window_size: WindowSizeData,
|
pub window_size: WindowSizeData,
|
||||||
/// The channel that we send a notification to.
|
/// The channel that we send a notification to.
|
||||||
pub script_join_chan: Sender<()>,
|
pub script_join_chan: Sender<()>,
|
||||||
/// Unique identifier
|
|
||||||
pub id: u32,
|
|
||||||
/// The type of query if any to perform during this reflow.
|
/// The type of query if any to perform during this reflow.
|
||||||
pub query_type: ReflowQueryType,
|
pub query_type: ReflowQueryType,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue