diff options
Diffstat (limited to 'components/script/layout_wrapper.rs')
-rw-r--r-- | components/script/layout_wrapper.rs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/components/script/layout_wrapper.rs b/components/script/layout_wrapper.rs index 0b230e6081f..e915a2d07b1 100644 --- a/components/script/layout_wrapper.rs +++ b/components/script/layout_wrapper.rs @@ -51,7 +51,7 @@ use script_layout_interface::{OpaqueStyleAndLayoutData, StyleData}; use script_layout_interface::wrapper_traits::{DangerousThreadSafeLayoutNode, GetLayoutData, LayoutNode}; use script_layout_interface::wrapper_traits::{PseudoElementType, ThreadSafeLayoutElement, ThreadSafeLayoutNode}; use selectors::attr::{AttrSelectorOperation, NamespaceConstraint}; -use selectors::matching::{ElementSelectorFlags, MatchingContext, RelevantLinkStatus}; +use selectors::matching::{ElementSelectorFlags, MatchingContext, RelevantLinkStatus, VisitedHandlingMode}; use servo_atoms::Atom; use servo_url::ServoUrl; use std::fmt; @@ -364,7 +364,9 @@ impl<'le> fmt::Debug for ServoLayoutElement<'le> { } impl<'le> PresentationalHintsSynthesizer for ServoLayoutElement<'le> { - fn synthesize_presentational_hints_for_legacy_attributes<V>(&self, hints: &mut V) + fn synthesize_presentational_hints_for_legacy_attributes<V>(&self, + _visited_handling: VisitedHandlingMode, + hints: &mut V) where V: Push<ApplicableDeclarationBlock> { unsafe { @@ -1228,6 +1230,8 @@ impl<'le> ::selectors::Element for ServoThreadSafeLayoutElement<'le> { } impl<'le> PresentationalHintsSynthesizer for ServoThreadSafeLayoutElement<'le> { - fn synthesize_presentational_hints_for_legacy_attributes<V>(&self, _hints: &mut V) + fn synthesize_presentational_hints_for_legacy_attributes<V>(&self, + _visited_handling: VisitedHandlingMode, + _hints: &mut V) where V: Push<ApplicableDeclarationBlock> {} } |