mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Auto merge of #14353 - emilio:fix-bloom, r=SimonSapin
Fix the bloom filter stuff. <!-- Please describe your changes on the following line: --> I think I got the numbers right, want to do a try run before just in case. r? @SimonSapin <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14353) <!-- Reviewable:end -->
This commit is contained in:
commit
2289ad53dd
11 changed files with 373 additions and 190 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue