diff --git a/components/style/properties/properties.mako.rs b/components/style/properties/properties.mako.rs index a322abbf3fb..e80e67508fb 100644 --- a/components/style/properties/properties.mako.rs +++ b/components/style/properties/properties.mako.rs @@ -2095,11 +2095,6 @@ impl ComputedValues { self.flags.contains(IS_STYLE_IF_VISITED) } - /// Whether there is a visited style. - pub fn has_visited_style(&self) -> bool { - self.visited_style.is_some() - } - /// Gets a reference to the rule node. Panic if no rule node exists. pub fn rules(&self) -> &StrongRuleNode { self.rules.as_ref().unwrap()