aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_wrapper.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <ecoal95@gmail.com>2016-11-23 23:37:27 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2016-11-27 15:55:10 +0100
commit84a50ed5cb1f136baf47d34d06b0577d939337a6 (patch)
tree9bc961e7eee6c61f9280ea4201cb382d4d07e3a8 /components/script/layout_wrapper.rs
parent7d69f53794c9f823d524d0d4382c04c4a57bea65 (diff)
downloadservo-84a50ed5cb1f136baf47d34d06b0577d939337a6.tar.gz
servo-84a50ed5cb1f136baf47d34d06b0577d939337a6.zip
style: Introduce StyleBloom
The idea is this will fix the bad behavior of the bloom filter in parallel traversal.
Diffstat (limited to 'components/script/layout_wrapper.rs')
-rw-r--r--components/script/layout_wrapper.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/components/script/layout_wrapper.rs b/components/script/layout_wrapper.rs
index a386d5c8563..8838787defc 100644
--- a/components/script/layout_wrapper.rs
+++ b/components/script/layout_wrapper.rs
@@ -175,14 +175,6 @@ impl<'ln> TNode for ServoLayoutNode<'ln> {
unsafe { self.get_jsmanaged().opaque() }
}
- fn layout_parent_element(self, reflow_root: OpaqueNode) -> Option<ServoLayoutElement<'ln>> {
- if self.opaque() == reflow_root {
- None
- } else {
- self.parent_node().and_then(|x| x.as_element())
- }
- }
-
fn debug_id(self) -> usize {
self.opaque().0
}