added dom obj counting to decide sequential/parallel layout (#10110)

This commit is contained in:
ddh 2016-06-09 00:34:31 +01:00 committed by Michael Howell
parent 6c3e94805f
commit 479a2c1217
5 changed files with 67 additions and 32 deletions

View file

@ -125,6 +125,8 @@ pub struct ScriptReflow {
pub script_join_chan: Sender<()>,
/// The type of query if any to perform during this reflow.
pub query_type: ReflowQueryType,
/// The number of objects in the dom #10110
pub dom_count: u32,
}
impl Drop for ScriptReflow {