mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
style: Remove NODE_MAY_BE_IN_BINDING_MNGR.
Never set anymore. Differential Revision: https://phabricator.services.mozilla.com/D52994
This commit is contained in:
parent
1f2c1f555c
commit
0cfc91d6ce
1 changed files with 4 additions and 1 deletions
|
@ -300,7 +300,10 @@ impl<'ln> GeckoNode<'ln> {
|
|||
fn flattened_tree_parent_is_parent(&self) -> bool {
|
||||
use crate::gecko_bindings::structs::*;
|
||||
let flags = self.flags();
|
||||
if flags & (NODE_MAY_BE_IN_BINDING_MNGR as u32 | NODE_IS_IN_SHADOW_TREE as u32) != 0 {
|
||||
|
||||
// FIXME(emilio): The shadow tree condition seems it shouldn't be needed
|
||||
// anymore, if we check for slots.
|
||||
if self.is_in_shadow_tree() {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue