mirror of
https://github.com/servo/servo.git
synced 2025-07-04 14:03:39 +01:00
style: Assert sanity in GeckoNode::as_document.
This commit is contained in:
parent
56fc1a6649
commit
f422c7dca4
1 changed files with 1 additions and 0 deletions
|
@ -383,6 +383,7 @@ impl<'ln> TNode for GeckoNode<'ln> {
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
debug_assert_eq!(self.owner_doc().as_node(), *self, "How?");
|
||||||
Some(self.owner_doc())
|
Some(self.owner_doc())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue