diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-07-22 14:53:57 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-07-24 10:05:37 +0200 |
commit | 9d21f9e6cebb932e973b5813a138bb96528b562d (patch) | |
tree | 8097c846cb95e91acc68a2b362f68c4621900caa /components/style/traversal.rs | |
parent | 55d9151dd3298618355dfc4387559a451b92aa03 (diff) | |
download | servo-9d21f9e6cebb932e973b5813a138bb96528b562d.tar.gz servo-9d21f9e6cebb932e973b5813a138bb96528b562d.zip |
style: Remove (mostly) unused has_current_styles.
MozReview-Commit-ID: DV9HfvbUjBY
Diffstat (limited to 'components/style/traversal.rs')
-rw-r--r-- | components/style/traversal.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/traversal.rs b/components/style/traversal.rs index a3495fac924..42aba19c30a 100644 --- a/components/style/traversal.rs +++ b/components/style/traversal.rs @@ -376,7 +376,7 @@ pub trait DomTraversal<E: TElement> : Sync { ) -> bool { // See the comment on `cascade_node` for why we allow this on Gecko. debug_assert!(cfg!(feature = "gecko") || - parent.has_current_styles(parent_data)); + parent.has_current_styles_for_traversal(parent_data, context.shared.traversal_flags)); // If the parent computed display:none, we don't style the subtree. if parent_data.styles.is_display_none() { |