style: Remove unnecessary TraversalFlags::FOR_DEFAULT_STYLES.

Yay

MozReview-Commit-ID: JiWTEz63AlE
This commit is contained in:
Emilio Cobos Álvarez 2017-07-10 14:31:44 +02:00
parent d15acc219e
commit d3c8844549
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 2 additions and 15 deletions

View file

@ -42,8 +42,6 @@ bitflags! {
/// Traverse and update all elements with CSS animations since
/// @keyframes rules may have changed
const FOR_CSS_RULE_CHANGES = 0x08,
/// Only include user agent style sheets when selector matching.
const FOR_DEFAULT_STYLES = 0x10,
}
}
@ -67,12 +65,6 @@ impl TraversalFlags {
pub fn for_css_rule_changes(&self) -> bool {
self.contains(FOR_CSS_RULE_CHANGES)
}
/// Returns true if the traversal is to compute the default computed styles
/// for an element.
pub fn for_default_styles(&self) -> bool {
self.contains(FOR_DEFAULT_STYLES)
}
}
/// This structure exists to enforce that callers invoke pre_traverse, and also