Skip to content

Commit

Permalink
style: Remove NODE_MAY_BE_IN_BINDING_MNGR.
Browse files Browse the repository at this point in the history
Never set anymore.

Differential Revision: https://phabricator.services.mozilla.com/D52994
  • Loading branch information
emilio committed Nov 30, 2019
1 parent 1f2c1f5 commit 0cfc91d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/style/gecko/wrapper.rs
Expand Up @@ -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;
}

Expand Down

0 comments on commit 0cfc91d

Please sign in to comment.