LibWeb: Remove FLATTEN attribute from SelectorEngine::fast_matches

This causes compilation time with GCC to increase far too much.
This commit is contained in:
Timothy Flynn 2024-03-20 09:00:44 -04:00 committed by Tim Flynn
parent 1ae174e380
commit 6e2685f091
Notes: sideshowbarker 2024-07-18 04:38:32 +09:00

View File

@ -702,7 +702,7 @@ static bool fast_matches_compound_selector(CSS::Selector::CompoundSelector const
return true;
}
FLATTEN bool fast_matches(CSS::Selector const& selector, Optional<CSS::CSSStyleSheet const&> style_sheet_for_rule, DOM::Element const& element_to_match)
bool fast_matches(CSS::Selector const& selector, Optional<CSS::CSSStyleSheet const&> style_sheet_for_rule, DOM::Element const& element_to_match)
{
DOM::Element const* current = &element_to_match;