From 9305fadc9f2f923ad4be0eb2ed83eedb4f84be25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Sun, 1 Oct 2017 13:26:32 +0200 Subject: [PATCH] style: Remove unused ComputedValues::has_visited_style. --- components/style/properties/properties.mako.rs | 5 ----- 1 file changed, 5 deletions(-) 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()