diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-01-19 13:19:16 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-01-19 13:22:37 +0100 |
commit | 8e25c9e6747941afcff30ba227cddcbb4261d10a (patch) | |
tree | d57db8f6a3570f086bd6521fb6efa7030224fcb1 /components/layout_thread/dom_wrapper.rs | |
parent | e4f08ee2bb5da5d8fc41bbe43af091b480aa265b (diff) | |
download | servo-8e25c9e6747941afcff30ba227cddcbb4261d10a.tar.gz servo-8e25c9e6747941afcff30ba227cddcbb4261d10a.zip |
style: Track the visited-handling-mode on the MatchingContext.
Instead of on the stack.
This fixes bugs where we're not passing the value around correctly, like from
::-moz-any.
This is a fix for https://bugzilla.mozilla.org/show_bug.cgi?id=1431539.
Diffstat (limited to 'components/layout_thread/dom_wrapper.rs')
-rw-r--r-- | components/layout_thread/dom_wrapper.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/components/layout_thread/dom_wrapper.rs b/components/layout_thread/dom_wrapper.rs index 14a2e5f3867..1b58f9f81b5 100644 --- a/components/layout_thread/dom_wrapper.rs +++ b/components/layout_thread/dom_wrapper.rs @@ -713,7 +713,6 @@ impl<'le> ::selectors::Element for ServoLayoutElement<'le> { &self, pseudo_class: &NonTSPseudoClass, _: &mut MatchingContext<Self::Impl>, - _: VisitedHandlingMode, _: &mut F, ) -> bool where @@ -1221,7 +1220,6 @@ impl<'le> ::selectors::Element for ServoThreadSafeLayoutElement<'le> { &self, _: &NonTSPseudoClass, _: &mut MatchingContext<Self::Impl>, - _: VisitedHandlingMode, _: &mut F, ) -> bool where |