aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/selector_parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/selector_parser.rs')
-rw-r--r--components/style/selector_parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/selector_parser.rs b/components/style/selector_parser.rs
index a8b5c3bc33e..52675abf45a 100644
--- a/components/style/selector_parser.rs
+++ b/components/style/selector_parser.rs
@@ -75,7 +75,7 @@ impl<'a> SelectorParser<'a> {
/// Whether we're parsing selectors in a stylesheet that has chrome
/// privilege.
pub fn chrome_rules_enabled(&self) -> bool {
- self.url_data.map_or(false, |d| d.is_chrome()) || self.stylesheet_origin == Origin::User
+ self.url_data.map_or(false, |d| d.chrome_rules_enabled()) || self.stylesheet_origin == Origin::User
}
}