mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Remove generation, remove filter pop, and add size tests.
This commit is contained in:
parent
ea6a61af59
commit
940cda1d15
8 changed files with 14 additions and 24 deletions
|
@ -112,7 +112,7 @@ pub trait PostorderNodeMutTraversal<ConcreteThreadSafeLayoutNode: ThreadSafeLayo
|
|||
#[inline]
|
||||
#[allow(unsafe_code)]
|
||||
fn construct_flows_at<'a, N>(context: &LayoutContext<'a>,
|
||||
thread_local: &mut ScopedThreadLocalLayoutContext<N::ConcreteElement>,
|
||||
_thread_local: &mut ScopedThreadLocalLayoutContext<N::ConcreteElement>,
|
||||
node: N)
|
||||
where N: LayoutNode,
|
||||
{
|
||||
|
@ -139,8 +139,6 @@ fn construct_flows_at<'a, N>(context: &LayoutContext<'a>,
|
|||
if let Some(el) = node.as_element() {
|
||||
el.mutate_data().unwrap().persist();
|
||||
unsafe { el.unset_dirty_descendants(); }
|
||||
|
||||
thread_local.style_context.bloom_filter.maybe_pop(el);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue