Skip to content

Commit

Permalink
geckolib: fix debug message about skipping traversal with an unstyled…
Browse files Browse the repository at this point in the history
… parent
  • Loading branch information
heycam committed Mar 30, 2017
1 parent 2084ee2 commit df3cbb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/geckolib/glue.rs
Expand Up @@ -153,7 +153,7 @@ fn traverse_subtree(element: GeckoElement, raw_data: RawServoStyleSetBorrowed,
// servo to try to style it. Detect that here and bail out.
if let Some(parent) = element.parent_element() {
if parent.borrow_data().map_or(true, |d| d.styles().is_display_none()) {
debug!("{:?} has unstyled parent - ignoring call to traverse_subtree", parent);
debug!("{:?} has unstyled parent {:?} - ignoring call to traverse_subtree", element, parent);
return;
}
}
Expand Down

0 comments on commit df3cbb8

Please sign in to comment.