diff options
Diffstat (limited to 'components/style/rule_tree/mod.rs')
-rw-r--r-- | components/style/rule_tree/mod.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/components/style/rule_tree/mod.rs b/components/style/rule_tree/mod.rs index d653b6be99d..a68732cd98c 100644 --- a/components/style/rule_tree/mod.rs +++ b/components/style/rule_tree/mod.rs @@ -135,16 +135,6 @@ impl StyleSource { block.read_with(guard) } - /// Indicates if this StyleSource is a style rule. - pub fn is_rule(&self) -> bool { - self.0.is_first() - } - - /// Indicates if this StyleSource is a PropertyDeclarationBlock. - pub fn is_declarations(&self) -> bool { - self.0.is_second() - } - /// Returns the style rule if applicable, otherwise None. pub fn as_rule(&self) -> Option<ArcBorrow<Locked<StyleRule>>> { self.0.as_first() |