diff options
author | Bobby Holley <bobbyholley@gmail.com> | 2016-12-22 10:40:27 -0800 |
---|---|---|
committer | Bobby Holley <bobbyholley@gmail.com> | 2016-12-22 11:09:55 -0800 |
commit | 940cda1d15203063af00a5763e5ac090ddbd9c5a (patch) | |
tree | 9c60cb66c8184adf56d7e715b2a16f9b6aebc166 /components/layout/traversal.rs | |
parent | ea6a61af594c8795ff009d00e77363fe0ae855cc (diff) | |
download | servo-940cda1d15203063af00a5763e5ac090ddbd9c5a.tar.gz servo-940cda1d15203063af00a5763e5ac090ddbd9c5a.zip |
Remove generation, remove filter pop, and add size tests.
Diffstat (limited to 'components/layout/traversal.rs')
-rw-r--r-- | components/layout/traversal.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/layout/traversal.rs b/components/layout/traversal.rs index 811074bb083..b3672ecf32c 100644 --- a/components/layout/traversal.rs +++ b/components/layout/traversal.rs @@ -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); } } |