Commit 760ba894 authored by Emilio Cobos Álvarez's avatar Emilio Cobos Álvarez
Browse files

Bug 1596391 - Fix silly boolean logic mistake. r=bustage a=dluca

MANUAL PUSH: bustage
parent 9f628e9a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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 !self.is_in_shadow_tree() {

        // 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;
        }